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
Method of installation: visual studio code extension (openapi-designer)
Swagger-UI version: [e.g. 3.21.0]
Swagger/OpenAPI version: OpenAPI 3.0
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
dueDay:
type: integerminimum: 1maximum: 31
Describe the bug you're encountering
Generated example shows 0 though it cannot be accepted according to specifications
"dueDay": 0,
To reproduce...
Steps to reproduce the behavior:
Render YAML with type: string and format: date
Open an example value in the browser
Expected behavior
Expected to see a value between minimum and maximum
"dueDay": 15,
P.S. This probably is valid for other parameters like e.g. Multiples. It's possible that this is also a feature request and not a bug, I am not quite sure. There is of course an easy workaround to provide own example
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
Describe the bug you're encountering
Generated example shows 0 though it cannot be accepted according to specifications
To reproduce...
Steps to reproduce the behavior:
Expected behavior
Expected to see a value between minimum and maximum
P.S. This probably is valid for other parameters like e.g.
Multiples
. It's possible that this is also a feature request and not a bug, I am not quite sure. There is of course an easy workaround to provide own exampleThe text was updated successfully, but these errors were encountered: