Skip to content

springdoc-openapi-starter-webmvc-ui 2.1.0 bug #2311

Closed
@ldcsaa

Description

@ldcsaa

ENV: spring-booot 3.1.1

  • If both of server.servlet.context-path and spring.mvc.servlet.path are config to /, /swagger-ui.html would be rediredted to //swagger-ui/index.html, and then Browsers explains it to http://swagger-ui/index.html

To Reproduce

server:
  servlet:
    context-path: /
spring:
  mvc:
    servlet:
      path: /

Screenshots
image
image
image

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