Skip to content

Add test for boolean additionalProperties (#499) #500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

mbeko
Copy link

@mbeko mbeko commented Aug 18, 2017

Provides a sample file and test which reproduces issue #499 stating that according to the OpenAPI 3.0.0 specification, additionalProperties of boolean type should be allowed.

Currently, only removing the boolean additionalProperties makes this test pass. You will also notice that the error message only reports an error at the location components.schemas'.someObject' even if only more deeply nested boolean additionalProperties are left.

@gracekarina
Copy link
Contributor

@mbeko thanks for the test, the solution for this is merged, please checkout 2.0branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants