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-03-23 08:49:13 +01:00
|
|
|
"/", "/docs", "swagger-ui.html"
|
2022-02-07 10:09:18 +01:00
|
|
|
})
|
2022-03-23 08:49:13 +01:00
|
|
|
public String index() {
|
|
|
|
return "redirect:swagger-ui/";
|
2022-02-07 10:09:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|