Use @RequestMapping on interface to show it works
This commit is contained in:
@@ -19,7 +19,8 @@ public class FeignClientApplication {
|
||||
}
|
||||
|
||||
@FeignClient(name = "example", url = "example.com")
|
||||
@RequestMapping("/")
|
||||
interface RestClient {
|
||||
@RequestMapping(value = "/", method = RequestMethod.GET)
|
||||
@RequestMapping(method = RequestMethod.GET)
|
||||
String hello();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user