Revision 56360
Added by Michele Artini almost 5 years ago
SwaggerController.java | ||
---|---|---|
7 | 7 |
@Controller |
8 | 8 |
public class SwaggerController { |
9 | 9 |
|
10 |
@RequestMapping(value = { "/", "/apidoc", "/api-doc", "/doc", "/swagger" }, method = RequestMethod.GET)
|
|
10 |
@RequestMapping(value = { "/apidoc", "/api-doc", "/doc", "/swagger" }, method = RequestMethod.GET) |
|
11 | 11 |
public String apiDoc() { |
12 | 12 |
return "redirect:swagger-ui.html"; |
13 | 13 |
} |
Also available in: Unified diff