swagger controller
This commit is contained in:
parent
c572334b91
commit
be85f682a0
|
@ -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";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue