1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-14 20:41:38 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

引入Swagger

This commit is contained in:
2022-03-13 01:23:43 +08:00
parent 1b78102d61
commit 5f3dab8153
5 changed files with 81 additions and 0 deletions

View File

@@ -109,6 +109,29 @@
<artifactId>cos_api</artifactId>
<version>5.6.69</version>
</dependency>
<!-- swagger
第一个是API获取的包第二是官方给出的一个ui界面。三和四是spring boot 需要的jar包。
-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.6.1</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.6.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>