dnet-applications/apps/dnet-exporter-api/src/main/java/eu/dnetlib/SwaggerController.java

17 lines
310 B
Java
Raw Normal View History

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
}
}