diff --git a/reference/html/index.html b/reference/html/index.html
index 3826fec2..0dc3492e 100644
--- a/reference/html/index.html
+++ b/reference/html/index.html
@@ -330,7 +330,7 @@ If none of them is in the classpath, the default feign client is used.
You can customize the HTTP client used by providing a bean of either org.apache.http.impl.client.CloseableHttpClient when using Apache or okhttp3.OkHttpClient when using OK HTTP.
-
Spring Cloud Netflix does not provide the following beans by default for feign, but still looks up beans of these types from the application context to create the feign client:
+
Spring Cloud OpenFeign does not provide the following beans by default for feign, but still looks up beans of these types from the application context to create the feign client:
@@ -484,6 +484,30 @@ public interface BarClient {
}
+
+
It is also possible to configure FeignClient not to inherit beans from the parent context.
+You can do this by overriding the inheritParentConfiguration() in a FeignClientConfigurer
+bean to return false:
+
+
+
+
@Configuration
+public class CustomConfiguration{
+
+@Bean
+public FeignClientConfigurer feignClientConfigurer() {
+ return new FeignClientConfigurer() {
+
+ @Override
+ public boolean inheritParentConfiguration() {
+ return false;
+ }
+ };
+
+ }
+}
+
+
@@ -561,6 +585,10 @@ the default Feign native annotations.
+
+
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.
+
diff --git a/reference/html/spring-cloud-openfeign.html b/reference/html/spring-cloud-openfeign.html
index 3826fec2..0dc3492e 100644
--- a/reference/html/spring-cloud-openfeign.html
+++ b/reference/html/spring-cloud-openfeign.html
@@ -330,7 +330,7 @@ If none of them is in the classpath, the default feign client is used.
You can customize the HTTP client used by providing a bean of either
org.apache.http.impl.client.CloseableHttpClient when using Apache or
okhttp3.OkHttpClient when using OK HTTP.
-
Spring Cloud Netflix does not provide the following beans by default for feign, but still looks up beans of these types from the application context to create the feign client:
+
Spring Cloud OpenFeign does not provide the following beans by default for feign, but still looks up beans of these types from the application context to create the feign client:
@@ -484,6 +484,30 @@ public interface BarClient {
}
+
+
It is also possible to configure FeignClient not to inherit beans from the parent context.
+You can do this by overriding the inheritParentConfiguration() in a FeignClientConfigurer
+bean to return false:
+
+
+
+
@Configuration
+public class CustomConfiguration{
+
+@Bean
+public FeignClientConfigurer feignClientConfigurer() {
+ return new FeignClientConfigurer() {
+
+ @Override
+ public boolean inheritParentConfiguration() {
+ return false;
+ }
+ };
+
+ }
+}
+
+
@@ -561,6 +585,10 @@ the default Feign native annotations.
+
+
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.
+