swagger2.zip
springboot 2.2.7集成swagger2.9.2,并生成markdown格式API文档. <!-- swagger2 依赖开始--> <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> <exclusions> <exclusion> <groupId>io.swagger</groupId> <artifactId>swagger-annotations</artifactId> </exclusion> <exclusion> <groupId>io.swagger</groupId> <artifactId>swagger-models</artifactId> </exclusion> </exclusions> </dependency> <!-- 解决进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21以上版本,这里选1.6.0版本--> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-annotations</artifactId> <version>1.6.0</version> </dependency> <!-- https://mvnrepository.com/artifact/io.swagger/swagger-models --> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-models</artifactId> <version>1.6.0</version> </dependency> <!-- https://mvnrepository.com/artifact/io.swagger/swagger-core --> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-core</artifactId> <version>1.6.0</version> </dependency> <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.9.2</version> </dependency> <!--swagger2markup用的到--> <!-- https://mvnrepository.com/artifact/org.pegdown/pegdown --> <dependency> <groupId>org.pegdown</groupId> <artifactId>pegdown</artifactId> <version>1.6.0</version> <scope>test</scope> </dependency> <!-- https://mvnrepository.com/artifact/io.github.swagger2markup/swagger2markup 可能有两个包无法自动导入,需要手工处理,见本文第7小节 --> <dependency> <groupId>io.github.swagger2markup</groupId> <artifactId>swagger2markup</artifactId> <version>1.3.3</version> </dependency> <!-- swagger2 依赖结束-->
- 1
- 2
- 3
- 粉丝: 26
- 资源: 9
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 默写49个过程、查看工具与技术
- (资源包名是松下不必介意实际是台达)台达PLC例程源码污水处理(台达PLC+触摸屏程序)
- 开唛K歌(沫沫VIP会员版)无限唱_2.1.5_新稳定版.apk
- (资源包名是松下不必介意实际是台达)台达PLC例程源码台达与丹佛斯fc51modbus通信程序带注解
- (资源包名是松下不必介意实际是台达)台达PLC例程源码台达霓虹灯循环程序
- 多种液体自动混合系统.mwp
- (资源包名是松下不必介意实际是台达)台达PLC例程源码台达例程序
- (资源包名是松下不必介意实际是台达)台达PLC例程源码台达程序
- (资源包名是松下不必介意实际是台达)台达PLC例程源码台达PLC与英威腾变频器的通讯控制
- 微服务开发各种注册中心对比