网关集成swagger

This commit is contained in:
xiongxiaoyang
2021-04-03 20:44:38 +08:00
parent b143b7c634
commit 7bed818730
7 changed files with 236 additions and 2 deletions

View File

@@ -45,6 +45,24 @@
<artifactId>sentinel-transport-simple-http</artifactId>
</dependency>
<!--swagger-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
</dependency>
<!--swagger ui-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>