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
The example value is a YAML timestamp object, not a string. Editors will then fail to parse this example correctly. The Swagger Editor for example, shows OrderedMap for the example value, instead of the string.
Expected behaviour: escape string values so that they stay strings.
Other stuff
swagger2openapi@7.0.8
The text was updated successfully, but these errors were encountered:
swagger2openapi: timestamp events get converted to YAML timestamps
example: "2020-06-11T13:55:24Z"
example: 2020-06-11T13:55:24Z
example: "2020-06-11T13:55:24Z"
Checklist
Detailed Description
gets rendered with
npx swagger2openapi@7.0.8 swagger.yaml -f -o openapi.yaml
as:The
example
value is a YAML timestamp object, not a string. Editors will then fail to parse this example correctly. The Swagger Editor for example, showsOrderedMap
for the example value, instead of the string.Expected behaviour: escape string values so that they stay strings.
Other stuff
swagger2openapi@7.0.8
The text was updated successfully, but these errors were encountered: