Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

get_example_from_prop_spec doesn't support empty properties #37

Open
gabisurita opened this issue Feb 9, 2017 · 0 comments
Open

get_example_from_prop_spec doesn't support empty properties #37

gabisurita opened this issue Feb 9, 2017 · 0 comments
Assignees
Labels

Comments

@gabisurita
Copy link

gabisurita commented Feb 9, 2017

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).

@cyprieng cyprieng self-assigned this Feb 13, 2017
@cyprieng cyprieng added the bug label Feb 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants