有什么方法可以隐藏“尝试一下”。在Spring Boot中使用OpenAPI 3的特定API选项?
',“ try>” 选项选项。
我们可以通过添加springdoc.swagger.swagger-ui.supportedsubmitmethods = array = array = [“ get”,get',get'',get',' 将“,“ post”,“ patch”]
在application.properties文件中。
并通过添加springdoc.swagger-ui.tryitoutenabled = true
来将其隐藏为所有API。
- 有什么方法可以通过在Spring Boot中使用
OpenAPI 3
隐藏它? - 如果API中没有参数,可以隐藏整个
参数
零件吗?
We can hide "Try it out" option for Methods like GET,PATCH,POST, etc... by adding
springdoc.swagger-ui.supportedSubmitMethods = Array=["get", "put", "post","patch"]
in Application.properties file.
and hide it for all Api by adding springdoc.swagger-ui.tryItOutEnabled = true
We want to hide it for a specific API.
- Is there any way to hide this by using
OpenApi 3
in Spring Boot? - Can hide the whole
Parameter
part if there is no parameter defined in API?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论