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 {
|
public class SwaggerController {
|
||||||
|
|
||||||
@RequestMapping(value = {
|
@RequestMapping(value = {
|
||||||
"/", "/docs", "swagger-ui.html"
|
"/", "/docs", "swagger-ui.html", "swagger-ui/"
|
||||||
})
|
})
|
||||||
public String index() {
|
public String index() {
|
||||||
return "redirect:swagger-ui/";
|
return "redirect:swagger-ui/index.html";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue