I am building some Swagger documentation, all well and good, except that I am wanting to have the page work interactively, so when selecting the editor or UI, if I hit the a
This is how I used Swagger with JWT Authentication:
In swagger.yaml root level:
securityDefinitions:
JWT:
type: apiKey
in: header
name: access_token
In swagger.yaml paths:
security
-JWT: []
This will display an Authorize button in Swagger UI on browser.
Hope this may help others.