Skip to content

fix/unevaluated object to v2 - #2776

Merged
Vincent Biret (baywet) merged 2 commits into
support/v2from
fix/unevaluated-object-to-v2
Mar 20, 2026
Merged

fix/unevaluated object to v2#2776
Vincent Biret (baywet) merged 2 commits into
support/v2from
fix/unevaluated-object-to-v2

Conversation

@baywet

Copy link
Copy Markdown
Member

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>
@sonarqubecloud

Copy link
Copy Markdown

@baywet
Vincent Biret (baywet) merged commit 5d58a8d into support/v2 Mar 20, 2026
17 checks passed
@baywet
Vincent Biret (baywet) deleted the fix/unevaluated-object-to-v2 branch March 20, 2026 16:43
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.

3 participants