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
Hello,
I have some fields in a response that use a time format. ReDoc is changing the examples in the output. Here's the OpenAPI file:
ContainerName:
type: string
description: Internal filename.
example: 2018-03-12
ModifiedDateTime:
type: string
description: The day and time the file was last modified in Fourth, in ISO 8601 format.
example: 2018-03-12T12:43:53
And attached is a screenshot showing how ReDoc is "reinterpreting" my example.
This shouldn't happen - the example should obviously show as written, so as to be accurate.
Please let me know if this is something that can/will be resolved.
Thanks, Elizabeth
The text was updated successfully, but these errors were encountered:
ContainerName:
type: stringdescription: Internal filename.example: "2018-03-12"ModifiedDateTime:
type: stringdescription: The day and time the file was last modified in Fourth, in ISO 8601 format.example: "2018-03-12T12:43:53"
That's caused by yaml special treatment of time strings. There is nothing Redoc can do here.
ContainerName:
type: stringdescription: Internal filename.example: "2018-03-12"ModifiedDateTime:
type: stringdescription: The day and time the file was last modified in Fourth, in ISO 8601 format.example: "2018-03-12T12:43:53"
That's caused by yaml special treatment of time strings. There is nothing Redoc can do here.
Hello,
I have some fields in a response that use a time format. ReDoc is changing the examples in the output. Here's the OpenAPI file:
And attached is a screenshot showing how ReDoc is "reinterpreting" my example.
This shouldn't happen - the example should obviously show as written, so as to be accurate.
Please let me know if this is something that can/will be resolved.
Thanks, Elizabeth
The text was updated successfully, but these errors were encountered: