Skip to content

Does ApiKey security scheme supports multiple keys? #625

Answered by Paracetamol56
Kinrany asked this question in Q&A
Discussion options

You must be logged in to vote

Yep, I'm afraid the utoipa::openapi::security::SecurityRequirement object doesn't accept more than one security scheme in its implementation.

Only one of the requirements must be satisfied.

https://docs.rs/utoipa/latest/utoipa/openapi/security/struct.SecurityRequirement.html

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Kinrany
Comment options

@Paracetamol56
Comment options

Answer selected by Kinrany
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants