In my spring boot application, I am using swagger
for documentation. I need to change the default http://localhost:8080/swagger-ui.html
path to http://localhost:8080/docs/swagger-ui.html
because I have the following controller which clashes with default swagger-ui path.
@RequestMapping("/{coll}")
public List<Map> getData(@PathVariable String coll){
....
return list;
}
I searched for so many resources (eg:https://github.com/springfox/springfox/issues/1443) and have suggested so many solutions but nothing works for me. Since this is very basic requirement in Swagger, what is the best way to change the swagger-ui.html
default path to custom path?