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
bug: type order in 'allOf' has an impact #712
Comments
I forget to mention version:
|
@kroc702 thanks for the report. Based on your schema provided it seems no input data will be valid ever as the a single value cannot be |
Well it's a choice, your choice ;) We just need a consistent behavior with all types and order shouldn't impact behavior of any/all/oneOf. |
Hello,
When validate with multiple schema using 'allOf', definition order has a behavior impact.
cf attached code to test
testSchemaValidator2.zip
Correct:
reverse order lead to incorrect validation:
The text was updated successfully, but these errors were encountered: