Skip to content

Conversation

@karenetheridge
Copy link
Member

This affects the places where examples are used: parameter, header, and media-type objects

for #4598 and #4776, ported from #4912.

  • schema changes are included in this pull request

@karenetheridge karenetheridge requested review from a team as code owners August 31, 2025 23:31
handrews
handrews previously approved these changes Aug 31, 2025
Copy link
Member

@handrews handrews left a comment

Choose a reason for hiding this comment

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

Thanks! This is unrelated to the "overriding" thing, btw, which was about either of these fields vs the example field in the Schema Object.

@karenetheridge karenetheridge changed the title "example" and "examples" cannot appear together v3.1: "example" and "examples" cannot appear together Sep 1, 2025
Copy link
Contributor

@ralfhandl ralfhandl left a comment

Choose a reason for hiding this comment

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

Could you please add a "fail" test case that would pass without the additional lines?

Copy link
Contributor

@ralfhandl ralfhandl left a comment

Choose a reason for hiding this comment

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

Could you please use value in the 3.1 test case, so that the test case passes if the new schema lines are removed?

mikekistler
mikekistler previously approved these changes Sep 5, 2025
Copy link
Contributor

@mikekistler mikekistler left a comment

Choose a reason for hiding this comment

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

+1 to @ralfhandl 's suggestion. the rest looks good.

Approving now so it can merge once Ralf's comment is addressed.

@karenetheridge
Copy link
Member Author

ahyes, dataValue is new :)

This affects the places where examples are used: parameter, header, and media-type objects

for OAI#4598, ported from OAI#4912.
@ralfhandl ralfhandl requested review from a team and mikekistler September 6, 2025 13:16
@ralfhandl
Copy link
Contributor

Approving now so it can merge once Ralf's comment is addressed.

@mikekistler Unfortunately you have to reapprove.

@handrews handrews merged commit c33e5ba into OAI:v3.1-dev Sep 6, 2025
2 checks passed
@karenetheridge karenetheridge deleted the v3.1-example-examples-mutually-exclusive branch September 7, 2025 01:45
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.

4 participants