How do I turn off Swagger/OpenAPI 3.0 for a Spring Boot application without using Maven Profiles?

后端 未结 0 565
半阙折子戏
半阙折子戏 2021-01-12 10:04

I want to turn off Swagger when my Spring Boot app is in production. I woudl perfer not to use profiles because I want finer grained control.

This is my configuration

相关标签:
回答
  • 消灭零回复
提交回复
热议问题