Skip to content

Commit e0d257b

Browse files
committed
anyOf, oneOf and allOf discriminator for OAS31
1 parent 6e9621c commit e0d257b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

openapi_schema_validator/validators.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@
5959
BaseOAS31Validator = extend(
6060
Draft202012Validator,
6161
{
62-
# adjusted to OAS
62+
# adjusted to OAS
63+
u"allOf": oas_validators.allOf,
64+
u"oneOf": oas_validators.oneOf,
65+
u"anyOf": oas_validators.anyOf,
6366
u"description": oas_validators.not_implemented,
6467
u"format": oas_validators.format,
6568
# fixed OAS fields

0 commit comments

Comments
 (0)