Replies: 2 comments
-
I'm going to close this in favor of #100, which got started by someone who did not realize this discussion already existed and now has a much longer set of comments. Please feel free to add to that discussion! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now in OpenAPI 3.x you have the ability to specify header, path and query parameters and to validate those parameters. Wha you don't have the ability to do is to have validation that spans across them.
For example, I might have a resource that supports two parameters:
Where
sortOrder
is mandatory ifsortBy
is specified, but prohibited otherwise. Right now you can't do this, and instead you are forced to depend on free-text documentation of the fields.Other things that would be useful here include, but not limited to:
a
orb
but never both.Beta Was this translation helpful? Give feedback.
All reactions