swagger controller

This commit is contained in:
Michele Artini 2022-09-09 11:01:51 +02:00
parent c572334b91
commit be85f682a0
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ import org.springframework.web.bind.annotation.RequestMapping;
public class SwaggerController {
@RequestMapping(value = {
"/", "/docs", "swagger-ui.html"
"/", "/docs", "swagger-ui.html", "swagger-ui/"
})
public String index() {
return "redirect:swagger-ui/";
return "redirect:swagger-ui/index.html";
}
}