Skip to content

Swagger-UI endpoint 404 (5.32.1 - 5.32.4) #10855

@Jose-D-Placido

Description

@Jose-D-Placido

Q&A

  • OS: macOS
  • Browser: chrome
  • Version: 147.0.7727.102
  • Method of installation: java spring-boot
  • Swagger-UI version: 5.32.1 - 5.32.4
  • Swagger/OpenAPI version: OpenAPI 3.0

Content & configuration

Gradle spring-boot project with webmvc module and added constrain to update 5.32.0 to 5.32.1 ( or 5.32.4 )

Example Swagger/OpenAPI definition:

N/A

Swagger-UI configuration options:

@OpenAPIDefinition(
        info = @Info(
                title = "TMKP Backend API",
                version = "1.0",
                description = "API documentation for TMKP Backend Service"
        ),
        security = @SecurityRequirement(name = "Bearer Authentication")
)
@SecurityScheme(
        name = "Bearer Authentication",
        type = SecuritySchemeType.HTTP,
        bearerFormat = "JWT",
        scheme = "bearer",
        description = "JWT Bearer token authentication.
)
N/A

Describe the bug you're encountering

While upgrading the Swagger-UI dependency on a gradle spring-boot project to 5.32.1 ( also 5.32.4 ) we noticed that the endpoint "/swagger-ui/index.html" is returning 404

Thu Apr 23 15:53:16 WEST 2026
There was an unexpected error (type=Not Found, status=404).

To reproduce...

Steps to reproduce the behavior:

  1. Add dependency to the gradle project to use the latest minor version ( 5.32.4 )
  2. Go to '/swagger-ui/index.html'
  3. See 404 error

Expected behavior

The swagger-ui page is shown.

Screenshots

N/A

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