components:
securitySchemes:
bearerAuth: # arbitrary name for the security scheme
type: http
scheme: bearer
bearerFormat: JWT # optional, arbitrary value for documentation purposes
# 2) Apply the security globally to all operations
security:
- bearerAuth: [] # use the same name as above
However, if you view this scheme in the form, the Scheme is missing:
This is because bearer should be Bearer in the UI.
But if this is left as Bearer then it fails governance checks
Is there an existing issue for this?
Describe the Issue
According to https://swagger.io/docs/specification/authentication/bearer-authentication/ the method for defining Bearer Authentication via JWT is to create
However, if you view this scheme in the form, the
Scheme
is missing:This is because
bearer
should beBearer
in the UI.But if this is left as
Bearer
then it fails governance checksSteps To Reproduce
scheme
bearer
toBearer
Screenshots or Videos
No response
Browser
Brave
Additional Context?
No response