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

Feature request? Specify operation parameter as schema #645

Open
Miradorn opened this issue Dec 13, 2024 · 0 comments
Open

Feature request? Specify operation parameter as schema #645

Miradorn opened this issue Dec 13, 2024 · 0 comments

Comments

@Miradorn
Copy link

Maybe this is already possible and I'm just missing it, but basically what i need is:

Specify an operation which has a oneOf for parameters, e.g. it either has a slug parameter XOR a identifier and scope parameter.
As I see it there is currently no way to do this while it seems to be supported by OpenApiSpec itself.
The main problem probably is that the schema is always "automatically" created from the parameters. Maybe there is an easy way to bypass that if the parameters are already specified as a schema?

Thanks for any help!

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

1 participant