-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
how to set the different parameter to a url? #3214
Comments
The spec doesn't allow you to define mutually exclusive parameters. You'd have to define them both and add documentation to that effect. |
@webron
whether the parameter can be grouped. |
The spec doesn't allow you to define query parameters as part of the path. |
@codepandy: what @webron is trying to say is that you need a single path with both parameters:
There's a proposal to add support for parameter dependencies in the OpenAPI Specification in OAI/OpenAPI-Specification/issues/256, you can follow that for updates. |
the below url is a example:
the two urls' http type are get.
the two parameters can't be used together.
The text was updated successfully, but these errors were encountered: