Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sphinxcontrib/openapi/openapi31.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def _get_type_from_schema(schema):
dtype = schema["type"]
else:
dtype = set()
for t in schema["anyOf"]:
for t in schema.get("anyOf", []):
if "format" in t.keys():
dtype.add(t["format"])
else:
Expand Down