package eu.dnetlib.swagger.configuration;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Home redirection to swagger api documentation 
 */
@Controller
public class HomeController {

	@RequestMapping(value = "/docs")
	public String index() {
		return "redirect:swagger-ui.html";
	}
}
