I see that the UseBearerSecurity is supported in swagger but not open api. I’d like my customers to be able to use the openapi version of swagger ui (i use the ApiDeclarationFilter extensively) and send along a bearer token. Is there a supported way to do this? I’d prefer not to hack up the embedded resources.
Openapi auth using api key or JWT
See the Open API docs for a JWT Example:
i.e. you need to enter Bearer <JWT>
in the Autorization Header option when clicking Authorize.