Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions :: Is there a way in Swagger to show the UI documentation only to internal users? #98

Open
scchaitha opened this issue Aug 26, 2020 · 3 comments
Labels

Comments

@scchaitha
Copy link

Is there a way in Swagger to show the UI documentation only to internal users?

@scchaitha
Copy link
Author

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
Copy link
Member

You can use spring security to do that

@scchaitha
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants