Using @RequestLine with Feign

后端 未结 3 1697
北恋
北恋 2021-02-05 13:03

I have a working Feign interface defined as:

@FeignClient(\"content-link-service\")
public interface ContentLinkServiceClient {

    @RequestMapping(method = Req         


        
3条回答
  •  独厮守ぢ
    2021-02-05 13:23

    I wouldn't expect this to work.

    @RequestLine is a core Feign annotation, but you are using the Spring Cloud @FeignClient which uses Spring MVC annotations.

提交回复
热议问题