2022-02-07 10:09:18 +01:00
|
|
|
package eu.dnetlib;
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
|
|
@Controller
|
|
|
|
public class SwaggerController {
|
|
|
|
|
|
|
|
@RequestMapping(value = {
|
2022-09-09 11:01:51 +02:00
|
|
|
"/", "/docs", "swagger-ui.html", "swagger-ui/"
|
2022-02-07 10:09:18 +01:00
|
|
|
})
|
2022-03-23 08:49:13 +01:00
|
|
|
public String index() {
|
2022-09-09 11:01:51 +02:00
|
|
|
return "redirect:swagger-ui/index.html";
|
2022-02-07 10:09:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|