Skip to content

Commit dee5315

Browse files
authored
Allow undefined required properties
According to the OpenAPI spec this is allowed. This should solve #97
1 parent 46d3ae8 commit dee5315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_spec_validator/validation/keywords.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def __call__(
144144
set(required) - set(properties) - set(nested_properties)
145145
)
146146
else:
147-
extra_properties = list(set(required) - set(properties))
147+
extra_properties = []
148148

149149
if extra_properties and require_properties:
150150
yield ExtraParametersError(

0 commit comments

Comments
 (0)