Pronovix / swagger_ui_formatter

Swagger UI Field Formatter for Drupal
GNU General Public License v2.0
3 stars 12 forks source link

Bearer Token input on the popup dynamically #67

Closed dhinakaran60 closed 2 years ago

dhinakaran60 commented 3 years ago

I need to generate the input bearer token on the popup irrespective of the spec uploaded. Which means in all cases i need bearerAuth (http, Bearer) input type in the popup. I found few reference in .NET technology but not on swagger-UI library itself. Is it possible and recommended? Can you please help on this? Using Swagger UI - 3.0

image

https://mattfrear.com/2018/07/21/add-an-authorization-header-to-your-swagger-ui-with-swashbuckle-revisited/ https://ppolyzos.com/2017/10/30/add-jwt-bearer-authorization-to-swagger-and-asp-net-core/

mxr576 commented 2 years ago

Sorry, but answering this question is out of the scope of this module.