Skip to content

fix/unevaluated object to v2#2776

Open
baywet wants to merge 2 commits intosupport/v2from
fix/unevaluated-object-to-v2
Open

fix/unevaluated object to v2#2776
baywet wants to merge 2 commits intosupport/v2from
fix/unevaluated-object-to-v2

Conversation

@baywet
Copy link
Member

@baywet baywet commented Mar 13, 2026

port of #2774 to v2

Copilot AI and others added 2 commits March 13, 2026 13:31
When `Type` is explicitly set and does not include `Object`, skip
emitting `unevaluatedProperties` in all serialization paths (v3.1+
native property, v2.0/v3.0 extension, and direct v2.0 serialization).

Closes: unevaluatedProperties emitted for array/string/number/integer/boolean/null schemas

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
@baywet baywet requested a review from a team as a code owner March 13, 2026 17:34
@baywet baywet self-assigned this Mar 13, 2026
@baywet baywet enabled auto-merge March 13, 2026 17:34
@sonarqubecloud
Copy link

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