Forum Discussion

mcrobbj's avatar
mcrobbj
Occasional Contributor
5 years ago

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?

No RepliesBe the first to reply