JSON schema google.protobuf.Duration Should Be Treated as string #250
Labels
api: eventarc
Issues related to the googleapis/google-cloudevents API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
It looks like the JSON serialization of a
google.protobuf.Duration
is a string like"660s"
. Currently we misrepresent the JSON schema as an object. This affects types like Cloud Build objects.queue_ttl
is agoogle.protobuf.Duration
(fromgoogle/protobuf/duration.proto
)I've filed an upstream issue here: chrusty/protoc-gen-jsonschema#63
The text was updated successfully, but these errors were encountered: