Hi There,

I have developed spring base rest web services project for which I need 
documentation. I have implemented swagger inside my project and it is 
working fine. When I am using the url :
http://myhost/myapi/swagger-ui.html. It is showing documentation of all my 
controllers to me. But It is open to all. So I need to add some 
authentication to it. But as I have added it inside my running project, 
Kindly let me know how can I add authentication to it so that when some 
body hit http://myhost/ myapi/swagger-ui.html url. it prompts for 
authorization and after successfull authorization, it will show the api 
documentation to the user.


Kindly help me on this.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to