Skip to content

Conversation

@baywet
Copy link
Member

@baywet baywet commented Dec 18, 2025

reflection of #2652 to v3
fixes #2646

…port/v2--components--Microsoft.OpenApi

chore(support/v2): release 2.4.0
* Updates serialization logic to emit `additionalProperties: false` for all OpenAPI versions when `AdditionalPropertiesAllowed` is false.
* Refactors related test to a theory and verifies behavior for both OpenAPI 3.0 and 3.1.
* Ensures consistent schema output across OpenAPI versions.
fix(schema): always serialize `additionalProperties: false`
…port/v2--components--Microsoft.OpenApi

chore(support/v2): release 2.4.1
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@baywet baywet requested a review from a team as a code owner December 18, 2025 13:23
@baywet baywet self-assigned this Dec 18, 2025
@baywet baywet enabled auto-merge December 18, 2025 13:23
@sonarqubecloud
Copy link

@baywet baywet merged commit c0c4621 into main Dec 18, 2025
17 checks passed
@baywet baywet deleted the fix/additional-properties-false-to-v3 branch December 18, 2025 16:11
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.

Explicit additionalProperties: false should be emitted in OpenAPI 3.1 when AdditionalPropertiesAllowed = false

4 participants