forked from loafle/openapi-generator-original
[Java][Resttemplate] Normalize the RestTemplate ApiClient (#14845)
* Normalize resttemplate * Update samples
This commit is contained in:
parent
c81ff5801d
commit
9705617f93
@ -81,7 +81,6 @@ import {{invokerPackage}}.auth.OAuth;
|
|||||||
{{/hasOAuthMethods}}
|
{{/hasOAuthMethods}}
|
||||||
|
|
||||||
{{>generatedAnnotation}}
|
{{>generatedAnnotation}}
|
||||||
@Component("{{invokerPackage}}.ApiClient")
|
|
||||||
public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
|
public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
|
||||||
public enum CollectionFormat {
|
public enum CollectionFormat {
|
||||||
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
|
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
|
||||||
@ -115,7 +114,6 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
|
|||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public ApiClient(RestTemplate restTemplate) {
|
public ApiClient(RestTemplate restTemplate) {
|
||||||
this.restTemplate = restTemplate;
|
this.restTemplate = restTemplate;
|
||||||
init();
|
init();
|
||||||
|
@ -27,7 +27,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
{{>generatedAnnotation}}
|
{{>generatedAnnotation}}
|
||||||
@Component("{{package}}.{{classname}}")
|
|
||||||
{{#operations}}
|
{{#operations}}
|
||||||
public class {{classname}} {
|
public class {{classname}} {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
@ -36,7 +35,6 @@ public class {{classname}} {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public {{classname}}(ApiClient apiClient) {
|
public {{classname}}(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,6 @@ import org.openapitools.client.auth.ApiKeyAuth;
|
|||||||
import org.openapitools.client.auth.OAuth;
|
import org.openapitools.client.auth.OAuth;
|
||||||
|
|
||||||
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.ApiClient")
|
|
||||||
public class ApiClient extends JavaTimeFormatter {
|
public class ApiClient extends JavaTimeFormatter {
|
||||||
public enum CollectionFormat {
|
public enum CollectionFormat {
|
||||||
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
|
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
|
||||||
@ -92,7 +91,6 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public ApiClient(RestTemplate restTemplate) {
|
public ApiClient(RestTemplate restTemplate) {
|
||||||
this.restTemplate = restTemplate;
|
this.restTemplate = restTemplate;
|
||||||
init();
|
init();
|
||||||
|
@ -28,7 +28,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.PetApi")
|
|
||||||
public class PetApi {
|
public class PetApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -36,7 +35,6 @@ public class PetApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public PetApi(ApiClient apiClient) {
|
public PetApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.StoreApi")
|
|
||||||
public class StoreApi {
|
public class StoreApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -34,7 +33,6 @@ public class StoreApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public StoreApi(ApiClient apiClient) {
|
public StoreApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.UserApi")
|
|
||||||
public class UserApi {
|
public class UserApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -35,7 +34,6 @@ public class UserApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public UserApi(ApiClient apiClient) {
|
public UserApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,6 @@ import org.openapitools.client.auth.ApiKeyAuth;
|
|||||||
import org.openapitools.client.auth.OAuth;
|
import org.openapitools.client.auth.OAuth;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.ApiClient")
|
|
||||||
public class ApiClient extends JavaTimeFormatter {
|
public class ApiClient extends JavaTimeFormatter {
|
||||||
public enum CollectionFormat {
|
public enum CollectionFormat {
|
||||||
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
|
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
|
||||||
@ -92,7 +91,6 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public ApiClient(RestTemplate restTemplate) {
|
public ApiClient(RestTemplate restTemplate) {
|
||||||
this.restTemplate = restTemplate;
|
this.restTemplate = restTemplate;
|
||||||
init();
|
init();
|
||||||
|
@ -28,7 +28,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.PetApi")
|
|
||||||
public class PetApi {
|
public class PetApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -36,7 +35,6 @@ public class PetApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public PetApi(ApiClient apiClient) {
|
public PetApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.StoreApi")
|
|
||||||
public class StoreApi {
|
public class StoreApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -34,7 +33,6 @@ public class StoreApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public StoreApi(ApiClient apiClient) {
|
public StoreApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.UserApi")
|
|
||||||
public class UserApi {
|
public class UserApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -35,7 +34,6 @@ public class UserApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public UserApi(ApiClient apiClient) {
|
public UserApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,6 @@ import org.openapitools.client.auth.ApiKeyAuth;
|
|||||||
import org.openapitools.client.auth.OAuth;
|
import org.openapitools.client.auth.OAuth;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.ApiClient")
|
|
||||||
public class ApiClient extends JavaTimeFormatter {
|
public class ApiClient extends JavaTimeFormatter {
|
||||||
public enum CollectionFormat {
|
public enum CollectionFormat {
|
||||||
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
|
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
|
||||||
@ -98,7 +97,6 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public ApiClient(RestTemplate restTemplate) {
|
public ApiClient(RestTemplate restTemplate) {
|
||||||
this.restTemplate = restTemplate;
|
this.restTemplate = restTemplate;
|
||||||
init();
|
init();
|
||||||
|
@ -26,7 +26,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.AnotherFakeApi")
|
|
||||||
public class AnotherFakeApi {
|
public class AnotherFakeApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -34,7 +33,6 @@ public class AnotherFakeApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public AnotherFakeApi(ApiClient apiClient) {
|
public AnotherFakeApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.FakeApi")
|
|
||||||
public class FakeApi {
|
public class FakeApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -42,7 +41,6 @@ public class FakeApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public FakeApi(ApiClient apiClient) {
|
public FakeApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.FakeClassnameTags123Api")
|
|
||||||
public class FakeClassnameTags123Api {
|
public class FakeClassnameTags123Api {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -34,7 +33,6 @@ public class FakeClassnameTags123Api {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public FakeClassnameTags123Api(ApiClient apiClient) {
|
public FakeClassnameTags123Api(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.PetApi")
|
|
||||||
public class PetApi {
|
public class PetApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -37,7 +36,6 @@ public class PetApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public PetApi(ApiClient apiClient) {
|
public PetApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.StoreApi")
|
|
||||||
public class StoreApi {
|
public class StoreApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -34,7 +33,6 @@ public class StoreApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public StoreApi(ApiClient apiClient) {
|
public StoreApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.UserApi")
|
|
||||||
public class UserApi {
|
public class UserApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -35,7 +34,6 @@ public class UserApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public UserApi(ApiClient apiClient) {
|
public UserApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ import org.openapitools.client.auth.ApiKeyAuth;
|
|||||||
import org.openapitools.client.auth.OAuth;
|
import org.openapitools.client.auth.OAuth;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.ApiClient")
|
|
||||||
public class ApiClient extends JavaTimeFormatter {
|
public class ApiClient extends JavaTimeFormatter {
|
||||||
public enum CollectionFormat {
|
public enum CollectionFormat {
|
||||||
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
|
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
|
||||||
@ -93,7 +92,6 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public ApiClient(RestTemplate restTemplate) {
|
public ApiClient(RestTemplate restTemplate) {
|
||||||
this.restTemplate = restTemplate;
|
this.restTemplate = restTemplate;
|
||||||
init();
|
init();
|
||||||
|
@ -26,7 +26,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.AnotherFakeApi")
|
|
||||||
public class AnotherFakeApi {
|
public class AnotherFakeApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -34,7 +33,6 @@ public class AnotherFakeApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public AnotherFakeApi(ApiClient apiClient) {
|
public AnotherFakeApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.FakeApi")
|
|
||||||
public class FakeApi {
|
public class FakeApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -42,7 +41,6 @@ public class FakeApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public FakeApi(ApiClient apiClient) {
|
public FakeApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.FakeClassnameTags123Api")
|
|
||||||
public class FakeClassnameTags123Api {
|
public class FakeClassnameTags123Api {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -34,7 +33,6 @@ public class FakeClassnameTags123Api {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public FakeClassnameTags123Api(ApiClient apiClient) {
|
public FakeClassnameTags123Api(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.PetApi")
|
|
||||||
public class PetApi {
|
public class PetApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -37,7 +36,6 @@ public class PetApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public PetApi(ApiClient apiClient) {
|
public PetApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.StoreApi")
|
|
||||||
public class StoreApi {
|
public class StoreApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -34,7 +33,6 @@ public class StoreApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public StoreApi(ApiClient apiClient) {
|
public StoreApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||||
@Component("org.openapitools.client.api.UserApi")
|
|
||||||
public class UserApi {
|
public class UserApi {
|
||||||
private ApiClient apiClient;
|
private ApiClient apiClient;
|
||||||
|
|
||||||
@ -35,7 +34,6 @@ public class UserApi {
|
|||||||
this(new ApiClient());
|
this(new ApiClient());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired
|
|
||||||
public UserApi(ApiClient apiClient) {
|
public UserApi(ApiClient apiClient) {
|
||||||
this.apiClient = apiClient;
|
this.apiClient = apiClient;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user