Questions :: Is there a way in Swagger to show the UI documentation only to internal users?
scchaitha opened this issue · 3 comments
scchaitha commented
Is there a way in Swagger to show the UI documentation only to internal users?
scchaitha commented
I mean to say are there any project or documentation for user roles and permissions using swagger annotations or spring configurations. Pls let me know that would be helpful.
dilipkrish commented
You can use spring security to do that
scchaitha commented
Thanks you! it worked. I used spring security and also I used some roles that tied to authentication service. Do you have an example project that uses spring security for supporting roles?