29 lines
810 B
Plaintext
29 lines
810 B
Plaintext
|
/**
|
||
|
* Auto-generated from apibuilder.io service specification.
|
||
|
* apidoc-version : {{service.apidoc.version}}
|
||
|
* organisation : {{service.organization.key}}
|
||
|
* service-version : {{service.version}}
|
||
|
*
|
||
|
* Documentation at:
|
||
|
* <a href="https://app.apibuilder.io/{{service.organization.key}}/{{service.name}}/{{service.version}}">https://app.apibuilder.io/{{service.organization.key}}/{{service.name}}/{{service.version}}</a>
|
||
|
*
|
||
|
**/
|
||
|
package {{namespace}};
|
||
|
|
||
|
import lombok.*;
|
||
|
|
||
|
import javax.ws.rs.client.Client;
|
||
|
import javax.ws.rs.client.ClientBuilder;
|
||
|
|
||
|
@Builder(toBuilder = true)
|
||
|
@With
|
||
|
@Getter
|
||
|
@EqualsAndHashCode
|
||
|
public class {{configName}} {
|
||
|
|
||
|
@NonNull
|
||
|
private final String baseUrl;
|
||
|
@Builder.Default
|
||
|
private final Client client = ClientBuilder.newClient();
|
||
|
|
||
|
}
|