Commit 00d29e426036c58aa812913b25d6da12a1a0f48b
1 parent
ba564528
暂时注释Swagger3
Signed-off-by: TanYibin <5491541@qq.com>
Showing
3 changed files
with
26 additions
and
26 deletions
huaheng-wms-core/pom.xml
... | ... | @@ -86,26 +86,26 @@ |
86 | 86 | </dependency> |
87 | 87 | |
88 | 88 | <!--swagger--> |
89 | - <dependency> | |
90 | - <groupId>io.springfox</groupId> | |
91 | - <artifactId>springfox-swagger2</artifactId> | |
92 | - <version>3.0.0</version> | |
93 | - </dependency> | |
94 | - <dependency> | |
95 | - <groupId>io.springfox</groupId> | |
96 | - <artifactId>springfox-swagger-ui</artifactId> | |
97 | - <version>3.0.0</version> | |
98 | - </dependency> | |
99 | - <dependency> | |
100 | - <groupId>io.swagger</groupId> | |
101 | - <artifactId>swagger-annotations</artifactId> | |
102 | - <version>1.5.22</version> | |
103 | - </dependency> | |
104 | - <dependency> | |
105 | - <groupId>com.github.xiaoymin</groupId> | |
106 | - <artifactId>swagger-bootstrap-ui</artifactId> | |
107 | - <version>1.8.7</version> | |
108 | - </dependency> | |
89 | +<!-- <dependency> --> | |
90 | +<!-- <groupId>io.springfox</groupId> --> | |
91 | +<!-- <artifactId>springfox-swagger2</artifactId> --> | |
92 | +<!-- <version>3.0.0</version> --> | |
93 | +<!-- </dependency> --> | |
94 | +<!-- <dependency> --> | |
95 | +<!-- <groupId>io.springfox</groupId> --> | |
96 | +<!-- <artifactId>springfox-swagger-ui</artifactId> --> | |
97 | +<!-- <version>3.0.0</version> --> | |
98 | +<!-- </dependency> --> | |
99 | +<!-- <dependency> --> | |
100 | +<!-- <groupId>io.swagger</groupId> --> | |
101 | +<!-- <artifactId>swagger-annotations</artifactId> --> | |
102 | +<!-- <version>1.5.22</version> --> | |
103 | +<!-- </dependency> --> | |
104 | +<!-- <dependency> --> | |
105 | +<!-- <groupId>com.github.xiaoymin</groupId> --> | |
106 | +<!-- <artifactId>swagger-bootstrap-ui</artifactId> --> | |
107 | +<!-- <version>1.8.7</version> --> | |
108 | +<!-- </dependency> --> | |
109 | 109 | |
110 | 110 | </dependencies> |
111 | 111 | |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/JeecgSystemApplication.java
... | ... | @@ -28,7 +28,7 @@ import lombok.extern.slf4j.Slf4j; |
28 | 28 | @EnableCaching |
29 | 29 | @SpringBootApplication |
30 | 30 | @EnableAutoConfiguration(exclude = {MongoAutoConfiguration.class}) |
31 | -@ComponentScan(excludeFilters = {@Filter(type = FilterType.REGEX, pattern = {"org.jeecg.config.mybatis.MybatisInterceptor", "org.jeecg.config.Swagger2Config"})}) | |
31 | +@ComponentScan(excludeFilters = {@Filter(type = FilterType.REGEX, pattern = {"org.jeecg.config.mybatis.MybatisInterceptor"})}) | |
32 | 32 | public class JeecgSystemApplication extends SpringBootServletInitializer { |
33 | 33 | |
34 | 34 | @Override |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/utils/Swagger3Config.java
... | ... | @@ -23,15 +23,15 @@ import springfox.documentation.service.*; |
23 | 23 | import springfox.documentation.spi.DocumentationType; |
24 | 24 | import springfox.documentation.spi.service.contexts.SecurityContext; |
25 | 25 | import springfox.documentation.spring.web.plugins.Docket; |
26 | -import springfox.documentation.swagger2.annotations.EnableSwagger2; | |
26 | +//import springfox.documentation.swagger2.annotations.EnableSwagger2; | |
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @author 游杰 |
30 | 30 | */ |
31 | -@Configuration | |
32 | -@EnableSwagger2 | |
33 | -@EnableKnife4j | |
34 | -@Import(BeanValidatorPluginsConfiguration.class) | |
31 | +//@Configuration | |
32 | +//@EnableSwagger2 | |
33 | +//@EnableKnife4j | |
34 | +//@Import(BeanValidatorPluginsConfiguration.class) | |
35 | 35 | public class Swagger3Config implements WebMvcConfigurer { |
36 | 36 | |
37 | 37 | /** |
... | ... |