mirror of https://github.com/usbharu/Hideout.git
12 lines
420 B
Plaintext
12 lines
420 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}}
|