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
There was recently a pull request to make automatic example if it is not present. That works fine, but when I have my own example, then the rendered date for some reason includes timestamp as well:
"startDate": "2018-12-25T00:00:00.000Z",
To reproduce...
Render YAML with type: string and format: date
Open an example value in the browser
Expected behavior
Expected to see only date in example
"startDate": "2018-12-25",
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
Content & configuration
I use a visual studio extension to render things on the fly (openapi-designer) and have checked that it uses the latest version of swagger-ui
Example Swagger/OpenAPI definition:
Describe the bug you're encountering
There was recently a pull request to make automatic example if it is not present. That works fine, but when I have my own example, then the rendered date for some reason includes timestamp as well:
To reproduce...
Expected behavior
Expected to see only date in example
The text was updated successfully, but these errors were encountered: