如果是springboot的项目,在yml文件中如果配置了server.port和server.context-path,比如我的port是11089,项目名为/eye-view-service那么就是:
http://localhost:11089/eye-view-service/swagger-ui.html;如果没有配置server.context-path就是:http://localhost:11089/swagger-ui.html
访问效果如下:
如果是springboot的项目,在yml文件中如果配置了server.port和server.context-path,比如我的port是11089,项目名为/eye-view-service那么就是:
http://localhost:11089/eye-view-service/swagger-ui.html;如果没有配置server.context-path就是:http://localhost:11089/swagger-ui.html
访问效果如下:
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。