Tags: JStuhr/json-schema-validator
Tags
0.5.0beta3, and work around maven-release-plugin's stupidity Namely: this idiotic plugin clones the entire repository again to perform a release (it doesn't know about git archive, it seems) and creates nonsense commits in the process. I don't want either of those to happen, so .git/config edit by hand it is to use a local bare clone instead.
Fix bug with divisibleBy, and also other numeric keywords The problem was with JsonNode's .canConvertToLong() method. The doc explicitly said, and I overlooked it, that: [...] floating-point numbers are convertible if the integral part fits without overflow Introduce a valueIsLong() helper method in NumericKeywordValidator which validates that the node type is indeed an integer, and only then try and see if node.canConvertToLong().