springfox/springfox-demos

How to turn off swagger-ui?

zhangft7478191 opened this issue · 1 comments

For example, the project has been completed and launched, but we do not want swagger-ui to be shown to users. How do you do it?
Is there another way besides filter?

Since its a webjar you may have to create your own custom WebMvcConfigurationAdaptor based on profile to hide it.