If you have something like additionalProperties: {} defined get_example_from_prop_spec will call _example_from_complex_def (here), which will assume a schema is defined.
Note: additionalProperties: {} is useful to allow any additional properties without an explicit schema (is equals to JsonSchema true).
If you have something like
additionalProperties: {}
definedget_example_from_prop_spec
will call_example_from_complex_def
(here), which will assume aschema
is defined.Note:
additionalProperties: {}
is useful to allow any additional properties without an explicit schema (is equals to JsonSchematrue
).