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
When describing an integer with a minimum > 0, the example generates 0 which violates the schema (however, for a number with the same constraint, the minimum value is correctly generated in the example).
To reproduce...
Input above schema in swagger editor (or any schema using an integer with minimum constraint).
Expected behavior
The example generates an integer according to the minimum constraint
Screenshots
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
Content & configuration
See OpenAPI defintion below.
Sample output is:
But should be
Example Swagger/OpenAPI definition:
Swagger-UI configuration options:
none
Describe the bug you're encountering
When describing an integer with a minimum > 0, the example generates 0 which violates the schema (however, for a number with the same constraint, the minimum value is correctly generated in the example).
To reproduce...
Input above schema in swagger editor (or any schema using an integer with minimum constraint).
Expected behavior
The example generates an integer according to the minimum constraint
Screenshots
The text was updated successfully, but these errors were encountered: