Skip to content
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

Conditional value for parameters #1363

Closed
starinfor opened this issue Oct 4, 2017 · 2 comments
Closed

Conditional value for parameters #1363

starinfor opened this issue Oct 4, 2017 · 2 comments

Comments

@starinfor
Copy link

Is it possible to have conditional values ? For example: Suppose JSON has 2 parameters, Country and States. Based on what country is selected, states is populated. Assuming all data takes a server side call.

@lornajane
Copy link
Contributor

This has been open for ages, and there's no support for inter-dependent parameters. A related (but not identical) issue is here #256, but I'll close this one as it hasn't had much engagement over the years.

@lornajane lornajane closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2023
@karenetheridge
Copy link
Member

query parameters can be defined by a single schema (which would allow conditional dependencies), but this is not possible for header or path parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants