Annotate @FeignClient with @Inherited. Fixes gh-322. (#370)

This commit is contained in:
Olga Maciaszek-Sharma
2020-07-14 10:38:02 -05:00
committed by GitHub
parent 63ba4d40ff
commit 4e89dd1523

View File

@@ -18,6 +18,7 @@ package org.springframework.cloud.openfeign;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@@ -36,6 +37,7 @@ import org.springframework.core.annotation.AliasFor;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface FeignClient {
/**