swagger打不开,提示如下

来源:11-2 使用mybatis+SpringBoot完成第一个查询demo

weixin_慕先生2094881

2021-08-19

启动成功,但是swagger打开报:
Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway. The base url is the root of where all the swagger resources are served. For e.g. if the api is available at http://example.org/api/v2/api-docs then the base url is http://example.org/api/. Please enter the location manually:

写回答

1回答

weixin_慕先生2094881

提问者

2021-08-19

好吧,还得加上config里面的swagger配置

0
0

Java接口自动化测试实战,搞定理论基础+典型应用场景

打破传统测试用例设计方法,搞懂基于TestNG的接口自动化测试技术

2086 学习 · 920 问题

查看课程