knife4j icon indicating copy to clipboard operation
knife4j copied to clipboard

在前端使用 iframe 嵌套 也就是 页面路径含有前缀 资源请求错误

Open combinx opened this issue 6 months ago • 0 comments

springdoc 遵循默认配置, 使用springdoc swagger-ui没有错误 影响版本 4.3.0 .4.4.0 4.5.0 均尝试过

请求 http://localhost/dev-api/v3/api-docs/swagger-config 成功 http://localhost/v3/api-docs 失败 如果配置 springdoc.api-docs.path=/dev-api/v3/api-docs 则 http://localhost/dev-api/v3/api-docs/swagger-config 请求失败 {"msg":"No static resource v3/api-docs/swagger-config.","code":500}

combinx avatar Jun 12 '25 09:06 combinx