When using the minimum/maximum attributes on numbers JSON-SCHEMA the definition is:
For example:
minimum 3 --> value >= 3
maximum 3 --> value <= 3
Whereas in the library, the validation error message is:
minimum 3 --> value must be more than 3, instead of more or equal to 3
maximum 3 --> value must be less than 3, instead of less or equal to 3
The error itself appears on the right values, meaning not when the value is 3, only the error message is wrong.
Hi,
When using the minimum/maximum attributes on numbers JSON-SCHEMA the definition is:
For example: minimum 3 --> value >= 3 maximum 3 --> value <= 3
Whereas in the library, the validation error message is: minimum 3 -->
value must be more than 3
, instead ofmore or equal to 3
maximum 3 -->value must be less than 3
, instead ofless or equal to 3
The error itself appears on the right values, meaning not when the value is 3, only the error message is wrong.