博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
spring boot 集成swagger 弹窗问题
阅读量:6939 次
发布时间:2019-06-27

本文共 450 字,大约阅读时间需要 1 分钟。

  hot3.png

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: 

如图:

这个问题是因为你系统有shiro鉴权导致,解决方案:

1.放开对该页面的鉴权

2.去掉shiro的启动注解

转载于:https://my.oschina.net/xwzj/blog/1837911

你可能感兴趣的文章
C/C++知识点清单02-上
查看>>
第一次上班吃便当
查看>>
jquery返回顶部-ie6配合css表达式。
查看>>
HDU——1267 下沙的沙子有几粒?
查看>>
pandas使用lambda判断元素是否为空或者None
查看>>
MapReduce Shuffle优化方向
查看>>
将博客搬至CSDN
查看>>
xcode快捷键
查看>>
MyBatis
查看>>
仿射变换
查看>>
iOS应用架构谈part3 网络层设计方案
查看>>
react组件生命周期
查看>>
IOS开发之自定义UITabBarController
查看>>
Android 混合式开发AppCan介绍
查看>>
悟透JavaScript(理解JS面向对象的好文章)
查看>>
spring gateway 截取response 长度缺失
查看>>
APK安装过程及原理详解(转)
查看>>
微信登录授权逻辑图
查看>>
I Hate It
查看>>
App-IOS与Android弱网环境测试
查看>>