Skip to content

Commit 7c17743

Browse files
committed
Add info on mixing annotations to docs. Fixes gh-983.
1 parent 84e3530 commit 7c17743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/spring-cloud-openfeign.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ NOTE: `PROD-SVC` is the name of the service the Clients will be making requests
353353

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

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

0 commit comments

Comments
 (0)