1.引入pom文件
springboot依赖
swagger 依赖
2.swagger文件配置
3.添加swagger装配注解
4.由于使用高版本,需要在yml文件中添加路径匹配策略
5.直接根据ip端口访问后缀即可访问 http://localhost:12015/publisher-server/doc.html
1.引入pom文件
springboot依赖
swagger 依赖
2.swagger文件配置
3.添加swagger装配注解
4.由于使用高版本,需要在yml文件中添加路径匹配策略
5.直接根据ip端口访问后缀即可访问 http://localhost:12015/publisher-server/doc.html