package {{package}};

import org.springframework.context.annotation.Profile;
import org.springframework.cloud.openfeign.FeignClient;
import {{configPackage}}.ClientConfiguration;

{{=<% %>=}}
@FeignClient(name="${<%classVarName%>.name:<%classVarName%>}", url="${<%serviceName%>.url:<%basePath%>}", configuration = ClientConfiguration.class)
<%={{ }}=%>
@Profile("!disable-feign-client")
public interface {{classname}}Client extends {{classname}} {
}
