Skip to content

Poor error reporting when using oneOf #139

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

Closed
piotr-dobrogost opened this issue Jun 6, 2019 · 0 comments · Fixed by #157
Closed

Poor error reporting when using oneOf #139

piotr-dobrogost opened this issue Jun 6, 2019 · 0 comments · Fixed by #157
Labels
area/schema Indicates an issue on schema area

Comments

@piotr-dobrogost
Copy link

When using oneOf and no schema validates the value the error reported is generic Mimetype invalid: No valid schema found for value: (…).
Getting the list of reasons (one for each schema) why the value does not validate according to each schema would be very helpful.

@p1c2u p1c2u added the area/schema Indicates an issue on schema area label Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/schema Indicates an issue on schema area
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants