错误
Springboot在整合swagger3.0.0时没有问题,但查看API时报错:
在项目pom.xml文件中增加以下两个依赖:
io.swagger
swagger-annotations
1.5.22
io.swagger
swagger-models
1.5.22