Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Support boolean additionalProperties in OpenAPI 2 #610

Merged
merged 1 commit into from
Feb 23, 2021

Conversation

kylef
Copy link
Member

@kylef kylef commented Feb 23, 2021

Boolean additional properties, for example (additionalProperties: false which indicates no additional properties are permittied), in API Elements that is an object with the fixed-type typeAttribute.

additionalProperties may also contain a subschema which all undeclared properties must conform to, I'll try prepare a follow up with that. That can become tricky due to the implications with the required keyword.

@kylef kylef added the openapi2 label Feb 23, 2021
@kylef kylef requested a review from opichals February 23, 2021 15:23
Copy link
Contributor

@opichals opichals left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kylef kylef merged commit fd2584f into master Feb 23, 2021
@kylef kylef deleted the kylef/oas2-additionalProperties branch February 23, 2021 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants