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
Hello, according to the most recent version of the json schema spec, the "multipleOf" value should be stricly greater than 0. So this is an issue with the schema, not the validator. However it would make sense to add a safety net in the schema loader too, to fail early when an incorrect schema is being loaded.
schema:
{"type": "number", "multipleOf" : 0}
payload:
java.lang.ArithmeticException: Division by zero
java.lang.ArithmeticException: Division undefined
Is this the expected behavior? Or are they corner cases that are not being handled?
Thanks!
The text was updated successfully, but these errors were encountered: