Enlist the examples
This commit is contained in:
parent
9fa838d3e8
commit
acf9632afc
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ def get_example_for_schema(schema):
|
|||
items = schema['items']
|
||||
if isinstance(items, list):
|
||||
return [get_example_for_schema(i) for i in items]
|
||||
return get_example_for_schema(items)
|
||||
return [get_example_for_schema(items)]
|
||||
|
||||
if proptype == 'integer':
|
||||
return 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue