Skip to content

Commit

Permalink
Add info on mixing annotations to docs. Fixes gh-983.
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaMaciaszek committed Nov 12, 2024
1 parent 84e3530 commit 7c17743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/spring-cloud-openfeign.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ NOTE: `PROD-SVC` is the name of the service the Clients will be making requests

NOTE: The Feign `Contract` object defines what annotations and values are valid on interfaces. The
autowired `Contract` bean provides supports for SpringMVC annotations, instead of
the default Feign native annotations.
the default Feign native annotations. It is not recommended to mix the Spring MVC annotations and the native Feign annotations together.

You can also use the `Builder`to configure FeignClient not to inherit beans from the parent context.
You can do this by overriding calling `inheritParentContext(false)` on the `Builder`.
Expand Down

0 comments on commit 7c17743

Please sign in to comment.