@FeignClient(name="myServiceName", url="localhost:8888") public interface OpenfeignService { @RequestMapping("/") public String getName(); }