springdoc-openapi-ui相关内容
我的应用程序正在启动MVC,而不是启动。 我使用的是springdoc-openapi-ui 1.4.4 另外,我将以下导入添加到我的一个@Configuration类中; org.springdoc.core.SpringDocConfigProperties.class, org.springdoc.core.SpringDocConfiguration.class,
..
我正在将 springdoc-openapi-ui 用于 Spring Boot API 文档并面临以下问题 - 我已经添加了所有必要的配置如下 - maven 依赖 - org.springdocspringdoc-openapi-ui1.5.2
..
我们在 nginx 代理后面运行服务,以便: http://service-post:8080/swagger-ui.html 路由到公共地址 https://host.com/services/post/swagger-ui.html 或者换一种方式定义: 当 nginx 在 https://host.com/services/post/swagger-ui.html 上收到请
..
我正在使用 springdoc-openapi-ui.我已经配置了名为 Authorization 的全局标头.当我执行 API Authorization 没有显示在请求的 CURL 中.我的其他参数显示在 CURL 中,除了 Authorization. 以前,我使用的是 springfox-swagger-ui,那一次它显示在 CURL 部分. 我搜索了相同的内容并在 https
..
我正在使用 springdoc-openapi-ui,当我点击 http://localhost:8080/swagger-ui.html URL 它总是重定向到 http://localhost:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config.有什么方法可以阻止这种重定向并在 http://localhost:80
..
使用 GroupedOpenApi 定义 API 组时,参数列表中不存在添加到每个端点的通用参数集.下面是各自的代码 @Bean公共 GroupedOpenApi v1Apis() {返回 GroupedOpenApi.builder().group(“v1 API")//隐藏所有 v2 API.pathsToExclude("/api/v2/**", "/v2/**")//显示所有 v1 AP
..
我有一个 API 的三个路径变量.我想用 ***** 屏蔽 Swagger UI 上的一个输入. 在使用 Springdoc OpenAPI 时如何执行此操作? 解决方案 您只需使用 swagger 注释: @Parameter(schema = @Schema(type = "string", format = "password"))
..
我正在使用 SpringDoc 1.4.3 进行 swagger. 我添加了以下配置以禁用 application.yml 中的 petstore URL 配置 springdoc:招摇-ui:disable-swagger-default-url: true标签分类器:alpha操作分类器:alpha文档扩展:无 但是当我点击 https://petstore.swagger.io/v
..