Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2022-04-06 20:37:08 -07:00
parent 216b454c14
commit 69c4f8ce70
16 changed files with 1015 additions and 1009 deletions

View File

@ -1076,7 +1076,7 @@ def getRefs(schema: dict) -> [str]:
else:
# Generate the type.
if not 'type' in schema:
if 'type' not in schema:
if 'allOf' in schema:
for sub_schema in schema['allOf']:
refs.extend(getRefs(sub_schema))