cancel
Showing results for 
Search instead for 
Did you mean: 

Define the format of a JWT in Open API

Highlighted
Occasional Contributor

Define the format of a JWT in Open API

I can define the use of a JWT:

  1. components:
  2. securitySchemes:
  3. bearerAuth: # arbitrary name for the security scheme
  4. type: http
  5. scheme: bearer
  6. 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?

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors