We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://swagger.io/docs/specification/2-0/authentication/api-keys/ describes a situation for a "Pair of API Keys". Assuming I have a definition like this
// @securitydefinitions.apikey apiuser // @in header // @name Api-User // // @securitydefinitions.apikey apikey // @in header // @name Api-Key
I haven't been able to figure out how to require both.
This syntax yields an OR, not an AND, as I would expect from the docs.
// @Securiy apiuser // @Security apikey
Is there a way to require the pair?
The text was updated successfully, but these errors were encountered:
Use
// @Securiy apiuser || apikey
Or vote for #1659
Sorry, something went wrong.
Thanks! I used that syntax successfully. Is it possible to vote for a PR? I don't see how to do that.
No branches or pull requests
https://swagger.io/docs/specification/2-0/authentication/api-keys/ describes a situation for a "Pair of API Keys". Assuming I have a definition like this
I haven't been able to figure out how to require both.
This syntax yields an OR, not an AND, as I would expect from the docs.
Is there a way to require the pair?
The text was updated successfully, but these errors were encountered: