Skip to content
Discussion options

You must be logged in to vote

I find that it may be a flaw of OpenAPI.
Custom security types are not supported in OpenAPI, too. The solution of "mutiple api keys" in OpenAPI is define mutiple "ApiKeys" security sheme, and make them work together in path operation's security. It's weird and hard to describe in ONE security model of FastAPI.

related issue:
OpenAPI-Specification/issues/2292
swagger-api/swagger-ui#3521

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
Converted from issue

This discussion was converted from issue #1716 on February 28, 2023 18:39.