Repository navigation
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! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
sortOrderis mandatory ifsortByis 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:
aorbbut never both.All reactions