You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But is it correct to add Quote here?
It has to be said that TRUE (string without quotes) will be treated as a boolean which is the expected behavior of YAML.
@zaakn a safer way to handle that instead of using quoting might be to set data type annotation like !!str in the schema.Enum.Yaml field and strip them again when rendering JSON. This allows to avoid adding annotations,
zaakn
added a commit
to zaakn/gnostic
that referenced
this issue
Nov 9, 2023
env
--openapi_opt naming=proto,enum_type=string
proto file
expected output
actual output
I know it's better not to use reserved words, so this is just for usage feedback.
The text was updated successfully, but these errors were encountered: