From 7c177438b354695d72b0bf8890f801cd7df3cace Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Tue, 12 Nov 2024 17:58:12 +0100 Subject: [PATCH] Add info on mixing annotations to docs. Fixes gh-983. --- docs/modules/ROOT/pages/spring-cloud-openfeign.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc b/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc index 60bc386e..4aabfa3c 100644 --- a/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc @@ -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`.