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
Describe the bug
Using const combined with minimum and maximum inside anyOf in a JSON schema does not yield the desired result when generating a model.
Describe the bug
Using
const
combined withminimum
andmaximum
insideanyOf
in a JSON schema does not yield the desired result when generating a model.To Reproduce
Example schema:
Used commandline:
Expected behavior
The generated model shall limit the allowed values to a range form
0
to65534
and500000
:Actual behavior
The generated model limits the allowed values to a range form
0
to65534
and any integer:Version:
python:3
(https://hub.docker.com/_/python)The text was updated successfully, but these errors were encountered: