Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
i310019 opened this issue Jan 27, 2020 · 0 comments

Comments

@i310019
Copy link

i310019 commented Jan 27, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant