Skip to content

After configuring springdoc.swagger-ui.path the initial html page is served from the configured path but other requests are served without the path #37

@leoherbie

Description

@leoherbie

If you configure: springdoc.swagger-ui.path=foo then http://localhost:3006/foo/swagger-ui.html works great. The problem is it immediately redirects to http://localhost:3006/webjars/swagger-ui/index.html?url=/foo&validatorUrl=

This greatly complicates things like configuring servlet filters based on path.

Ideally, you can configure a path to serve swagger docs from and every resource is served from that path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions