All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lockss.laaws.poller.config.HomeController Maven / Gradle / Ivy

package org.lockss.laaws.poller.config;

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

/**
 * Home redirection to swagger api documentation 
 */
@Controller
public class HomeController {
    @RequestMapping(value = "/")
    public String index() {
        return "redirect:/swagger-ui/";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy