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
Unfortunately, this breaks some code generators (apart from not looking 'right').
When generating these properties, the schema writer should take the schema type into account (and defaults to integer).
You could argue whether these properties must be written at all when the type is not 'integer' or 'number'.
Thanks for any support.
The text was updated successfully, but these errors were encountered:
Currently, the JSchema properties 'Minimum' and 'Maximum' are defined as 'double'.
This implies that, if you create a schema like this:
This is written as:
Unfortunately, this breaks some code generators (apart from not looking 'right').
When generating these properties, the schema writer should take the schema type into account (and defaults to integer).
You could argue whether these properties must be written at all when the type is not 'integer' or 'number'.
Thanks for any support.
The text was updated successfully, but these errors were encountered: