mcrobbj
5 years agoOccasional Contributor
Define the format of a JWT in Open API
I can define the use of a JWT:
- components:
- securitySchemes:
- bearerAuth: # arbitrary name for the security scheme
- type: http
- scheme: bearer
- bearerFormat: JWT # optional, arbitrary value for documentation purposes
I can define the schema for it in the components section but how do I bind that to the defintion above?