Skip to content

add oneOf object type tests – one of them fails #187

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
wants to merge 1 commit into from

Conversation

graste
Copy link

@graste graste commented Sep 3, 2015

The resolution of the definitions of the objects for the oneOf constraint with $ref referencing something works, but the actual validation of the objects then fails for the second added test case with prop2 – failed to match exactly one schema.

See https://gist.github.com/graste/968573d9c29280b66a7c as well for a small usecase/example.

DON'T JUST MERGE this PR as it contains a failing test case deliberately.

The resolution of the definitions of the objects for the oneOf with $ref
referencing something works, but the actual validation of the objects then
fails for the second added test case with "prop2 – failed to match exactly
one schema".
@bighappyface
Copy link
Collaborator

Closed with #182

Please re-open if necessary.

@graste
Copy link
Author

graste commented May 11, 2016

Unfortunately testing will have to wait a month or two. Thanks for the work though! 👍

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

Successfully merging this pull request may close these issues.

2 participants