-
Notifications
You must be signed in to change notification settings - Fork 612
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
能否把spring.factories中的 Knife4jAutoConfiguration 拿掉 #490
Milestone
Comments
spring.factories不能拿掉啊,之前搞@EnableKnife4j注解是考虑到springmvc的情况,如果是boot环境 不使用这个注解也没啥影响吧 |
|
|
get |
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1.spring.factories 加载配置类 Knife4jAutoConfiguration
2.@EnableKnife4j 也是加载配置类 Knife4jAutoConfiguration
两个并存,等于 @EnableKnife4j / 条件装配直接无效。 一旦引入 knife4j 就一定会加载配置。
The text was updated successfully, but these errors were encountered: