Spring Boot Redirect to SwaggerUI
Problem Some services don’t have an UI and the OpenAPI/ Swagger UI should be used as default UI of the service. As so the root should be redirected directly to the SwaggerUI. Solution Just add a WebMvc redirect. Swagger dependencies Ensure you check the current version: Links https://springdoc.org/