Skip to content

Commit

Permalink
Fix oneOf in config specs (#8540)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek authored Feb 4, 2021
1 parent fedc120 commit 21a5e05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def value_validator(value, loader, file_name, sections_display, option_name, dep
)
return

value_validator(type_data, loader, file_name, sections_display, option_name)
value_validator(type_data, loader, file_name, sections_display, option_name, depth=depth + 1)

if not depth:
value['example'] = default_option_example(option_name)
Expand Down

0 comments on commit 21a5e05

Please sign in to comment.