Browse Source

Update Javadoc for FeignClient.configuration() (#227)

Referring to @Configuration is a bit confusing. The referred class does not need the annotation, and actually using it could cause issues due the class additionally getting picked up by the component scan.
pull/281/head
Michael Stummvoll 5 years ago committed by Spencer Gibb
parent
commit
b1e38db1e2
  1. 2
      spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClient.java

2
spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClient.java

@ -85,7 +85,7 @@ public @interface FeignClient { @@ -85,7 +85,7 @@ public @interface FeignClient {
boolean decode404() default false;
/**
* A custom <code>@Configuration</code> for the feign client. Can contain override
* A custom configuration class for the feign client. Can contain override
* <code>@Bean</code> definition for the pieces that make up the client, for instance
* {@link feign.codec.Decoder}, {@link feign.codec.Encoder}, {@link feign.Contract}.
*

Loading…
Cancel
Save