Skip to content
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

additionalProperties can be a boolean #47

Open
cdomigan opened this issue May 17, 2021 · 3 comments
Open

additionalProperties can be a boolean #47

cdomigan opened this issue May 17, 2021 · 3 comments

Comments

@cdomigan
Copy link

Hi, thank you for this wonderful library!

According to the OpenAPI spec:

additionalProperties - Value can be boolean or object.

Currently the library only supports setting this property to a Schema, or null. Could we have support for a boolean please? I would like to set it to false to disallow all additional props.

Kind regards,
Chris

@Amegatron
Copy link

Upvote this. additionalProperties can also be true to signify any type of additional properties.

@matthew-inamdar
Copy link
Member

Will try get this added in the next release.

@fmiqbal
Copy link

fmiqbal commented Mar 15, 2023

any update on this?

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

No branches or pull requests

4 participants