@EnableFeignClients turns on OpenFeign support and tells it where to find client interfaces. OpenFeign implements interfaces annotated with @FeignClient and makes them injectable as Spring beans. section 11.3
Listing 11.5 Enabling the OpenFeign clients in the configuration class
@Configuration
@EnableFeignClients( #A
basePackages = "com.example.proxy")
public class ProjectConfig {
}A configuration class enables Feign clients and sets the package to scan. section 11.3
