Implement basic authentication in Swagger

Aug 19 2019 7:24 AM
Hi All,
 
I have developed Web API application and I have used swagger for its documentation.
 
I want to implement basic authentication on swagger UI. Can anybody suggest me the step wise instruction to implement basic authentication on swagger UI. When I click on 'Try it out' it should ask me credentials for authentication. I checked many online posts but nobody given clear instructions to implement it.
 
Thanks And Regards
Neelesh Malvi 

Answers (2)