腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
关联问题
换一批
Nginx虚拟主机配置的基本步骤是什么?
如何在Nginx中设置多个虚拟主机?
Nginx虚拟主机配置文件通常位于哪里?
文章
问答
(681)
视频
沙龙
2
回答
Springboot + springfox + swagger2 + swagger-ui
、
、
如何访问生成的
swagger-ui.html
?或者index.html我似乎在我的项目中找不到这个文件。啊!
浏览 0
提问于2016-05-06
得票数 0
1
回答
如何嵌入外部html和改变css样式?
、
我有一个本地/
swagger-ui.html
,它是由不同的包/库提供的。样式覆盖:<head> <link rel="import" href="/
swagger-ui.html
浏览 18
提问于2019-08-06
得票数 0
1
回答
在spring引导中拦截和重定向请求
、
、
、
apis中的基本路径配置为通过在"/api"中使用server.servlet-path=/api来拥有application.properties,现在可以在http://host:port/api/
swagger-ui.html
但是,由于我们的所有服务文档都可以在http://host:8080/
swagger-ui.html
上使用,所以我们希望该服务也在相同的路径上服务。现在,我想拦截对http://host:8080&#x
浏览 4
提问于2020-03-12
得票数 1
1
回答
隐藏URL的一部分
、
我将其配置为在用户访问根路径时重定向到
swagger-ui.html
。addViewControllers(ViewControllerRegistry registry) { }} 正如我在application.yml context-path中配置的/api,现在当用户尝试访问/api时,他会被重定
浏览 3
提问于2018-10-25
得票数 1
1
回答
Swagger OpenAPI用户界面发送403个响应状态,用于发布、放置和删除请求: Nginx代理背后托管的服务器
、
、
、
、
问题: Swagger的 Get请求正在工作,而其他方法类型给出了403个错误。<dependency> <artifactId>springdoc-openapi-ui</artifactId></dependency>@Configuration @OpenAPIDefinition(servers =
浏览 2
提问于2022-03-22
得票数 0
1
回答
Swagger-ui不显示任何api详细信息
、
、
、
addResourceHandlers(final ResourceHandlerRegistry registry) { registry.addResourceHandler("
swagger-ui.html
浏览 3
提问于2016-10-07
得票数 3
3
回答
如何在春季启动时使默认url在浏览器中查看?
、
、
、
、
我的问题是如何在spring引导的情况下设置默认的重定向url,以便自动重定向到
swagger-ui.html
。这意味着如果用户在浏览器中键入,浏览器应该自动重定向到url ie。。
浏览 2
提问于2019-03-26
得票数 3
2
回答
在SecurityContextunauthorized问题中找不到Spring安全+身份验证对象
、
Exception { web.ignoring() .antMatchers("/
swagger-ui.html
");} 但是它不起作用。
浏览 3
提问于2020-02-13
得票数 0
1
回答
Swagger with Spring : api-docs不生成json
、
、
、
、
com.smith.spring.swagger" /> <mvc:resources location="classpath:/META-INF/resources/
swagger-ui.html
" mapping="
swagger-ui.html
" /> <mvc:resources location="classpath:&
浏览 3
提问于2016-03-24
得票数 2
回答已采纳
5
回答
如何更改
swagger-ui.html
默认路径
、
、
我想改变我的傲慢的ui路径从localhost:8080/
swagger-ui.html
到localhost:8080/myapi/
swagger-ui.html
在springboot重定向对我来说是无助的
浏览 2
提问于2019-07-24
得票数 18
1
回答
Swagger OpenAPI:如何为每个包实现单独的UI?
、
、
、
| |http://localhost:8080/internal/
swagger-ui.html
只有控制器,位于特定路
浏览 43
提问于2021-10-28
得票数 1
回答已采纳
1
回答
Springfox -更改swagger-ui的路径
、
、
现在swagger是由http://localhost:8080/myContextRoot/
swagger-ui.html
提供的 是否可以将swagger及其资源配置为在http://localhost:8080/myContextRoot/swagger/
swagger-ui.html
下提供服务 谢谢你的帮助!
浏览 70
提问于2020-01-27
得票数 0
回答已采纳
2
回答
将位置更改为在Spring中调用swagger-ui
、
、
如何将调用swagger api文档的位置从http://localhost:8081/
swagger-ui.html
更改为http://localhost:8081/my-api-doc 我的SwaggerConfig
浏览 1
提问于2017-09-12
得票数 2
1
回答
如何设置路由的默认前缀?
/some-api/
swagger-ui.html
-> http://some-api.com/some-api/
swagger-ui.html
/some-api/
swagger-ui.html
-> http://some-api.com/
swagger-ui.html
浏览 0
提问于2019-07-22
得票数 1
回答已采纳
3
回答
傲慢的用户界面没有出现
、
、
、
、
void addResourceHandlers(ResourceHandlerRegistry registry) { registry.addResourceHandler("/
swagger-ui.html
浏览 4
提问于2020-02-26
得票数 1
1
回答
在上下文根级别上使用jaxrs使用非xml方式启动
swagger-ui.html
- jersey2 swagger-ui存在问题
、
我已经下载了静态文件并放置在WEB文件夹中,但是我无法访问
swagger-ui.html
/ index.html。 提前谢谢。
浏览 2
提问于2017-10-21
得票数 0
回答已采纳
2
回答
SpringDoc/Swagger背后的nginx代理
、
、
、
我们在nginx代理后面运行一个服务,以便:或者用另一种方式来定义: 当nginx在https://host.com/services/post/
swagger-ui.html
上接收请求时,它会剥离/service
浏览 7
提问于2020-12-01
得票数 1
回答已采纳
1
回答
Swagger-ui不使用jackson-数据格式-xml
、
、
、
、
一切都很好,但是如果我将
swagger-ui.html
添加到
swagger-ui.html
的**pom.xml依赖项中,就不会再显示了。我认为这是Spring转换器的一个问题,因为当我试图转到需要json转换器的
swagger-ui.html
时,Spring似乎采用了xml转换器。我还注意到,当我试图到达
swagger-ui.html
时,我的浏览器发送的是http报头:text/html,application/xhtml+xml,application/xml;q=0.9,image
浏览 0
提问于2019-03-12
得票数 2
2
回答
如何在Docker上运行时重定向FastAPI文档
、
、
、
、
我需要将"/
swagger-ui.html
“重定向到文档页面。我试过:async def docs_redirect(): return responseapp = FastAPI(docs_url="/
swagger-ui.html
")
浏览 7
提问于2021-02-10
得票数 1
回答已采纳
2
回答
Swagger和Spring MVC集成
、
、
、
、
public void addResourceHandlers(ResourceHandlerRegistry registry) { }并使用url http://localhost:8080/admin-api/admin
浏览 0
提问于2017-05-31
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
SpringBoot项目实战:整合Swagger2构建强大的Restful Api接口文档(二)
SpringBoot项目实战:整合Swagger2构建强大的Restful Api接口文档(三)
项目大升级,在SpringBoot3.4.3使用SpringDoc取代springfox-swagger,调整的代码不止一点点
如何在生产环境优雅的关闭Swagger2?
写文档太麻烦,试试这款 IDEA 插件吧!
热门
标签
更多标签
云服务器
ICP备案
云直播
即时通信 IM
实时音视频
活动推荐
运营活动
广告
关闭
领券
首页
学习
活动
专区
圈层
工具
MCP广场
返回腾讯云官网