Skip to content

springdoc-openapi-starter-webmvc-ui encounters a 404 error when accessing swagger-ui/index.html #2605

@a1576471428

Description

@a1576471428

Describe the bug

The latest version (2.5.0) of springdoc-openapi-starter-webmvc-ui encounters a 404 error when accessing swagger-ui/index.html

To Reproduce
import maven:

            <dependency>
                <groupId>org.springdoc</groupId>
                <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
                <version>2.5.0</version>
            </dependency>

then access http://localhost:8080/swagger-ui/index.html

Expected behavior
got swagger ui

Screenshots
image

Additional context

i found the swagger-ui version in pom is 5.13.0,
but in config file springdoc.config.properties is 5.2.0

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