Skip to content

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

Open
@combinx

Description

@combinx

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions