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:
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.
)
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:
- Add dependency to the gradle project to use the latest minor version ( 5.32.4 )
- Go to '/swagger-ui/index.html'
- See 404 error
Expected behavior
The swagger-ui page is shown.
Screenshots
N/A
Q&A
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/ASwagger-UI configuration options:
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:
Expected behavior
The swagger-ui page is shown.
Screenshots
N/A