-
-
Notifications
You must be signed in to change notification settings - Fork 135
"oneOf" keyword not supported #37
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
Comments
Thanks a lot! :-) |
Guys, I'm still having issues with oneOf:
- {type: string}
- {type: integer} and it just throws an error when validating an integer like 22:
|
I think you are observing bug raised in issue #65 (oneOf type forced to object ) |
Not sure if it's the same; The issues I'm facing with If it is indeed the same, though, then this pull request might fix it: #133 |
Unfortunately this library doesn't support "oneOf", which is fundamental for using flexible/union types. The standard describes this part of the specification, but this library doesn't implement it.
Please let me know if you need help with implementing this.
The text was updated successfully, but these errors were encountered: