anyOf
with differing types in schema results in incorrect validation error
#1690
Labels
anyOf
with differing types in schema results in incorrect validation error
#1690
Version
4.0.0-milestone4
Do you have a reproducer?
Using the below schema, if I make the below request with an invalid field name such that if fails to match any of the
anyOf
types, I get the error,$.data.relationships.source.data.id: object found, string expected
. However, the field can be either astring
or anobject
.Minimal reproducible schema
Request body causing error
The text was updated successfully, but these errors were encountered: