New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove support for @RequestMapping over a FeignClient interface #547
Comments
Clarification: ut's only a problem if you have both a |
Note : in a spring-boot app, it crashes if you have both a @FeignClient and a FeignHystrixCallback implementing the interface because Spring-MVC complains about ambiguous path mapping. |
Right, yes. That's worth documenting as well: you can't use |
It also gets scanned by springfox and probably other tools. Lots of worries 😄 ... |
Yes, when I used swagger and there are two controller and feignclient but accidently they have the same RequestMapping, then there are |
Hi @OlgaMaciaszek give me something easy so I cam step through a pull and remerge "the right way" |
@jenimal you can work on this issue. |
Will be switching it from a documentation-only issue to an enhancement. We think using |
Done with d6783a6. |
It seems that Spring-MVC interprets it as a controller.
If you use an Hystrix fallback inheriting from the interface, then it even fails at startup saying that there are two controllers for the same mapping.
The text was updated successfully, but these errors were encountered: