Skip to content

Conversation

karenetheridge
Copy link
Member

@karenetheridge karenetheridge commented Aug 31, 2025

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

for #4598 and #4776.

  • schema changes are included in this pull request

@karenetheridge karenetheridge requested review from a team as code owners August 31, 2025 23:13
@karenetheridge karenetheridge added the Schema changes related to the schema(s) label Aug 31, 2025
@karenetheridge karenetheridge added this to the v3.2.0 milestone 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.

Weird- this is handled correctly in the 3.0 schema, but was apparently dropped in 3.1? Which was definitely an error.

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

for OAI#4598 and OAI#4776.
@karenetheridge karenetheridge force-pushed the ether/v3.2-example-examples-mutually-exclusive branch from 997d12a to 5a6eb77 Compare August 31, 2025 23:21
@karenetheridge
Copy link
Member Author

This should probably be backported to 3.1.2 then?

@handrews

This comment was marked as off-topic.

karenetheridge added a commit to karenetheridge/OpenAPI-Specification that referenced this pull request Aug 31, 2025
This affects the places where examples are used: parameter, header, and media-type objects

for OAI#4598 and OAI#4776, ported from OAI#4912.
@karenetheridge karenetheridge changed the title "example" and "examples" cannot appear together v3.2: "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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Schema changes related to the schema(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants