marvin-engine-executor icon indicating copy to clipboard operation
marvin-engine-executor copied to clipboard

Everit doesn't throw informative errors if the violation located Within a deeper hierarchy level

Open i310019 opened this issue 5 years ago • 0 comments

Describe the bug Everit doesn't throw informative errors if the violation located Within a deeper hierarchy level

I have a json that I wan't to validate against a given schema.

This is the only error I get: org.everit.json.schema.ValidationException: #/payload: #: only 1 subschema matches out of 2

With this error I cannot verify in which place under "payload" field, the error exists.

If the problem exists in the first level of the json, the error I get is much more clear and informative.

i310019 avatar Jan 27 '20 13:01 i310019