|
|
|
@ -24,28 +24,33 @@
|
|
|
|
|
<optional>true</optional> <!-- 表示依赖不会传递 -->
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- swagger2-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- <!– swagger2–>-->
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>io.springfox</groupId>-->
|
|
|
|
|
<!-- <artifactId>springfox-swagger2</artifactId>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
<!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
|
|
<version>1.5.21</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- <!–防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本–>-->
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>io.swagger</groupId>-->
|
|
|
|
|
<!-- <artifactId>swagger-annotations</artifactId>-->
|
|
|
|
|
<!-- <version>1.5.21</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-models</artifactId>
|
|
|
|
|
<version>1.5.21</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>io.swagger</groupId>-->
|
|
|
|
|
<!-- <artifactId>swagger-models</artifactId>-->
|
|
|
|
|
<!-- <version>1.5.21</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>com.github.xiaoymin</groupId>-->
|
|
|
|
|
<!-- <artifactId>swagger-bootstrap-ui</artifactId>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
|
|
<artifactId>swagger-bootstrap-ui</artifactId>
|
|
|
|
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Mysql驱动包 -->
|
|
|
|
|