12 lines
432 B
Plaintext
12 lines
432 B
Plaintext
package {{package}}
|
|
|
|
import org.springframework.cloud.openfeign.FeignClient
|
|
import {{configPackage}}.ClientConfiguration
|
|
|
|
@FeignClient(
|
|
name="\${{openbrace}}{{classVarName}}.name:{{classVarName}}{{closebrace}}",
|
|
{{#useFeignClientUrl}}url="\${{openbrace}}{{classVarName}}.url:{{basePath}}{{closebrace}}", {{/useFeignClientUrl}}
|
|
configuration = [ClientConfiguration::class]
|
|
)
|
|
interface {{classname}}Client : {{classname}}
|