libopenapi-validator icon indicating copy to clipboard operation
libopenapi-validator copied to clipboard

Should enforce required "AND" security schemes

Open AidanWelch opened this issue 10 months ago • 2 comments

https://swagger.io/docs/specification/v3_0/authentication/#using-multiple-authentication-types

When defining multiple security schemes for 1 operation, they can be OR'd or AND'd. Currently they're always treated as an OR

AidanWelch avatar Apr 10 '25 03:04 AidanWelch

PRs welcome!

daveshanley avatar Apr 11 '25 12:04 daveshanley

@daveshanley Will look into it if I get the time!

AidanWelch avatar Apr 13 '25 16:04 AidanWelch