-
Notifications
You must be signed in to change notification settings - Fork 9.2k
v3.1: "example" and "examples" cannot appear together #4917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.1: "example" and "examples" cannot appear together #4917
Conversation
There was a problem hiding this 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.
There was a problem hiding this 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?
b2c3ff5 to
5b54394
Compare
There was a problem hiding this 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?
There was a problem hiding this 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.
|
ahyes, |
5b54394 to
f34083a
Compare
@mikekistler Unfortunately you have to reapprove. |
This affects the places where examples are used: parameter, header, and media-type objects
for #4598 and #4776, ported from #4912.