Skip to content

Conversation

@EricBuist
Copy link
Contributor

When the type in a schema is not set, this means the corresponding parameter can be of any type. The current logic treats it as an object unless there are a discriminator or additional properties. If type is null, we should treat it as an object only in presence of properties. Type set to null without any properties means any type, including string, boolean, arrays and objects.

@EricBuist EricBuist requested a review from a team as a code owner January 28, 2026 14:35
jas-valgotar
jas-valgotar previously approved these changes Feb 2, 2026
Copy link
Contributor

@jas-valgotar jas-valgotar left a comment

Choose a reason for hiding this comment

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

:shipit:

@jas-valgotar
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jas-valgotar
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jas-valgotar jas-valgotar merged commit 9084b1b into microsoft:main Feb 2, 2026
2 checks passed
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