spring-cloud-openfeign
spring-cloud-openfeign copied to clipboard
## Bug Report: @EnableFeignClients defaultConfiguration not working with basePackages scope
Issue Description
When using @EnableFeignClients annotation with both basePackages and defaultConfiguration parameters, the defaultConfiguration doesn't properly scope to only the specified packages. The configuration either applies globally or doesn't work at all.
Current Behavior
@EnableFeignClients(basePackages = "com.gls.athena.sdk.amap.feign", defaultConfiguration = AmapFeignConfig.class)
public class AmapAutoConfig {
}
The defaultConfiguration should only apply to FeignClient interfaces within the specified basePackages = "com.gls.athena.sdk.amap.feign" scope, without affecting FeignClients in other packages.