BUG日记之-----Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway.

在使用swagger进行测试的时候调用弹窗

 

 解决办法:

在启动类添加@EnableSwagger2注解

 

 

posted @ 2022-05-11 16:03  别遇见  阅读(275)  评论(0)    收藏  举报