goldspecdigital/oooas

additionalProperties can be a boolean

cdomigan opened this issue · 3 comments

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

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

Will try get this added in the next release.

any update on this?