Forum Discussion

mothkoori's avatar
mothkoori
Occasional Visitor
6 years ago

How to add Authorization Header to a Rest Request in Java

Hi,

 

I am trying to upgrade swagger-ui from 2.0 to 3.21.0.

In 2.0 I used to get the user name along with base url by making the change in index.html.After that setting the user in header of each request.

The same thing I would like to do in Swagger-ui 3.21.0.

Can Some one please help in this?

Expected:1.how to edit index.html code to get the one more input from GUI.

                2.After getting the input how to set value in header.

No RepliesBe the first to reply