forked from loafle/openapi-generator-original
Fix UUID default value cast exception (swift5) (#16436)
This commit is contained in:
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -5,6 +5,7 @@ import org.openapitools.client.EncodingUtils;
|
||||
import org.openapitools.client.model.ApiResponse;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -19,6 +20,7 @@ public interface AnotherFakeApi extends ApiClient.Api {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Client
|
||||
*/
|
||||
@@ -26,13 +28,15 @@ public interface AnotherFakeApi extends ApiClient.Api {
|
||||
@Headers({
|
||||
"Content-Type: application/json",
|
||||
"Accept: application/json",
|
||||
"uuid_test: {uuidTest}"
|
||||
})
|
||||
Client call123testSpecialTags(Client body);
|
||||
Client call123testSpecialTags(@Param("uuidTest") UUID uuidTest, Client body);
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* Similar to <code>call123testSpecialTags</code> but it also returns the http response headers .
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return A ApiResponse that wraps the response boyd and the http headers.
|
||||
*/
|
||||
@@ -40,8 +44,9 @@ public interface AnotherFakeApi extends ApiClient.Api {
|
||||
@Headers({
|
||||
"Content-Type: application/json",
|
||||
"Accept: application/json",
|
||||
"uuid_test: {uuidTest}"
|
||||
})
|
||||
ApiResponse<Client> call123testSpecialTagsWithHttpInfo(Client body);
|
||||
ApiResponse<Client> call123testSpecialTagsWithHttpInfo(@Param("uuidTest") UUID uuidTest, Client body);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -91,9 +91,10 @@ public class AnotherFakeApiExample {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -3,6 +3,7 @@ package org.openapitools.client.api;
|
||||
import org.openapitools.client.ApiClient;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
import com.google.api.client.http.EmptyContent;
|
||||
@@ -45,12 +46,13 @@ public class AnotherFakeApi {
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param uuidTest to test uuid example value
|
||||
* @param body client model
|
||||
* @return Client
|
||||
* @throws IOException if an error occurs while attempting to invoke the API
|
||||
**/
|
||||
public Client call123testSpecialTags(Client body) throws IOException {
|
||||
HttpResponse response = call123testSpecialTagsForHttpResponse(body);
|
||||
public Client call123testSpecialTags(UUID uuidTest, Client body) throws IOException {
|
||||
HttpResponse response = call123testSpecialTagsForHttpResponse(uuidTest, body);
|
||||
TypeReference<Client> typeRef = new TypeReference<Client>() {};
|
||||
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
|
||||
}
|
||||
@@ -59,19 +61,23 @@ public class AnotherFakeApi {
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param uuidTest to test uuid example value
|
||||
* @param body client model
|
||||
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
|
||||
* @return Client
|
||||
* @throws IOException if an error occurs while attempting to invoke the API
|
||||
**/
|
||||
public Client call123testSpecialTags(Client body, Map<String, Object> params) throws IOException {
|
||||
HttpResponse response = call123testSpecialTagsForHttpResponse(body, params);
|
||||
public Client call123testSpecialTags(UUID uuidTest, Client body, Map<String, Object> params) throws IOException {
|
||||
HttpResponse response = call123testSpecialTagsForHttpResponse(uuidTest, body, params);
|
||||
TypeReference<Client> typeRef = new TypeReference<Client>() {};
|
||||
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
|
||||
}
|
||||
|
||||
public HttpResponse call123testSpecialTagsForHttpResponse(Client body) throws IOException {
|
||||
// verify the required parameter 'body' is set
|
||||
public HttpResponse call123testSpecialTagsForHttpResponse(UUID uuidTest, Client body) throws IOException {
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
throw new IllegalArgumentException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
|
||||
}// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
throw new IllegalArgumentException("Missing the required parameter 'body' when calling call123testSpecialTags");
|
||||
}
|
||||
@@ -84,8 +90,11 @@ public class AnotherFakeApi {
|
||||
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PATCH, genericUrl, content).execute();
|
||||
}
|
||||
|
||||
public HttpResponse call123testSpecialTagsForHttpResponse(java.io.InputStream body, String mediaType) throws IOException {
|
||||
// verify the required parameter 'body' is set
|
||||
public HttpResponse call123testSpecialTagsForHttpResponse(UUID uuidTest, java.io.InputStream body, String mediaType) throws IOException {
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
throw new IllegalArgumentException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
|
||||
}// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
throw new IllegalArgumentException("Missing the required parameter 'body' when calling call123testSpecialTags");
|
||||
}
|
||||
@@ -100,8 +109,11 @@ public class AnotherFakeApi {
|
||||
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PATCH, genericUrl, content).execute();
|
||||
}
|
||||
|
||||
public HttpResponse call123testSpecialTagsForHttpResponse(Client body, Map<String, Object> params) throws IOException {
|
||||
// verify the required parameter 'body' is set
|
||||
public HttpResponse call123testSpecialTagsForHttpResponse(UUID uuidTest, Client body, Map<String, Object> params) throws IOException {
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
throw new IllegalArgumentException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
|
||||
}// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
throw new IllegalArgumentException("Missing the required parameter 'body' when calling call123testSpecialTags");
|
||||
}
|
||||
|
||||
@@ -91,9 +91,10 @@ public class AnotherFakeApiExample {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -21,6 +21,7 @@ import org.openapitools.client.model.*;
|
||||
import org.openapitools.client.Pair;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -51,13 +52,19 @@ public class AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Client
|
||||
* @throws ApiException if fails to make API call
|
||||
*/
|
||||
public Client call123testSpecialTags(Client body) throws ApiException {
|
||||
public Client call123testSpecialTags(UUID uuidTest, Client body) throws ApiException {
|
||||
Object localVarPostBody = body;
|
||||
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
throw new ApiException(400, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
|
||||
}
|
||||
|
||||
// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
throw new ApiException(400, "Missing the required parameter 'body' when calling call123testSpecialTags");
|
||||
@@ -74,7 +81,9 @@ public class AnotherFakeApi {
|
||||
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
|
||||
|
||||
|
||||
|
||||
if (uuidTest != null)
|
||||
localVarHeaderParams.put("uuid_test", apiClient.parameterToString(uuidTest));
|
||||
|
||||
|
||||
|
||||
final String[] localVarAccepts = {
|
||||
|
||||
@@ -116,9 +116,10 @@ public class AnotherFakeApiExample {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -19,6 +19,7 @@ To test special tags and operation ID starting with number
|
||||
### Example
|
||||
|
||||
```java
|
||||
import java.util.UUID;
|
||||
// Import classes:
|
||||
import org.openapitools.client.ApiClient;
|
||||
import org.openapitools.client.ApiException;
|
||||
@@ -32,9 +33,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +54,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -9,6 +9,7 @@ import org.openapitools.client.Pair;
|
||||
import javax.ws.rs.core.GenericType;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -49,6 +50,7 @@ public class AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Client
|
||||
* @throws ApiException if fails to make API call
|
||||
@@ -58,13 +60,14 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public Client call123testSpecialTags(Client body) throws ApiException {
|
||||
return call123testSpecialTagsWithHttpInfo(body).getData();
|
||||
public Client call123testSpecialTags(UUID uuidTest, Client body) throws ApiException {
|
||||
return call123testSpecialTagsWithHttpInfo(uuidTest, body).getData();
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return ApiResponse<Client>
|
||||
* @throws ApiException if fails to make API call
|
||||
@@ -74,17 +77,24 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(Client body) throws ApiException {
|
||||
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(UUID uuidTest, Client body) throws ApiException {
|
||||
// Check required parameters
|
||||
if (uuidTest == null) {
|
||||
throw new ApiException(400, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
|
||||
}
|
||||
if (body == null) {
|
||||
throw new ApiException(400, "Missing the required parameter 'body' when calling call123testSpecialTags");
|
||||
}
|
||||
|
||||
// Header parameters
|
||||
Map<String, String> localVarHeaderParams = new LinkedHashMap<>();
|
||||
localVarHeaderParams.put("uuid_test", apiClient.parameterToString(uuidTest));
|
||||
|
||||
String localVarAccept = apiClient.selectHeaderAccept("application/json");
|
||||
String localVarContentType = apiClient.selectHeaderContentType("application/json");
|
||||
GenericType<Client> localVarReturnType = new GenericType<Client>() {};
|
||||
return apiClient.invokeAPI("AnotherFakeApi.call123testSpecialTags", "/another-fake/dummy", "PATCH", new ArrayList<>(), body,
|
||||
new LinkedHashMap<>(), new LinkedHashMap<>(), new LinkedHashMap<>(), localVarAccept, localVarContentType,
|
||||
localVarHeaderParams, new LinkedHashMap<>(), new LinkedHashMap<>(), localVarAccept, localVarContentType,
|
||||
null, localVarReturnType, false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,9 +116,10 @@ public class AnotherFakeApiExample {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -19,6 +19,7 @@ To test special tags and operation ID starting with number
|
||||
### Example
|
||||
|
||||
```java
|
||||
import java.util.UUID;
|
||||
// Import classes:
|
||||
import org.openapitools.client.ApiClient;
|
||||
import org.openapitools.client.ApiException;
|
||||
@@ -32,9 +33,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +54,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -9,6 +9,7 @@ import org.openapitools.client.Pair;
|
||||
import javax.ws.rs.core.GenericType;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -49,6 +50,7 @@ public class AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Client
|
||||
* @throws ApiException if fails to make API call
|
||||
@@ -58,13 +60,14 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public Client call123testSpecialTags(Client body) throws ApiException {
|
||||
return call123testSpecialTagsWithHttpInfo(body).getData();
|
||||
public Client call123testSpecialTags(UUID uuidTest, Client body) throws ApiException {
|
||||
return call123testSpecialTagsWithHttpInfo(uuidTest, body).getData();
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return ApiResponse<Client>
|
||||
* @throws ApiException if fails to make API call
|
||||
@@ -74,17 +77,24 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(Client body) throws ApiException {
|
||||
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(UUID uuidTest, Client body) throws ApiException {
|
||||
// Check required parameters
|
||||
if (uuidTest == null) {
|
||||
throw new ApiException(400, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
|
||||
}
|
||||
if (body == null) {
|
||||
throw new ApiException(400, "Missing the required parameter 'body' when calling call123testSpecialTags");
|
||||
}
|
||||
|
||||
// Header parameters
|
||||
Map<String, String> localVarHeaderParams = new LinkedHashMap<>();
|
||||
localVarHeaderParams.put("uuid_test", apiClient.parameterToString(uuidTest));
|
||||
|
||||
String localVarAccept = apiClient.selectHeaderAccept("application/json");
|
||||
String localVarContentType = apiClient.selectHeaderContentType("application/json");
|
||||
GenericType<Client> localVarReturnType = new GenericType<Client>() {};
|
||||
return apiClient.invokeAPI("AnotherFakeApi.call123testSpecialTags", "/another-fake/dummy", "PATCH", new ArrayList<>(), body,
|
||||
new LinkedHashMap<>(), new LinkedHashMap<>(), new LinkedHashMap<>(), localVarAccept, localVarContentType,
|
||||
localVarHeaderParams, new LinkedHashMap<>(), new LinkedHashMap<>(), localVarAccept, localVarContentType,
|
||||
null, localVarReturnType, false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,9 +91,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
<a id="call123testSpecialTags"></a>
|
||||
# **call123testSpecialTags**
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -30,9 +30,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -49,6 +50,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -31,6 +31,7 @@ import java.io.IOException;
|
||||
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.ArrayList;
|
||||
@@ -77,6 +78,7 @@ public class AnotherFakeApi {
|
||||
|
||||
/**
|
||||
* Build call for call123testSpecialTags
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param _callback Callback for upload/download progress
|
||||
* @return Call to execute
|
||||
@@ -87,7 +89,7 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call call123testSpecialTagsCall(Client body, final ApiCallback _callback) throws ApiException {
|
||||
public okhttp3.Call call123testSpecialTagsCall(UUID uuidTest, Client body, final ApiCallback _callback) throws ApiException {
|
||||
String basePath = null;
|
||||
// Operation Servers
|
||||
String[] localBasePaths = new String[] { };
|
||||
@@ -111,6 +113,7 @@ public class AnotherFakeApi {
|
||||
Operation operation = apiOperation.getOperation();
|
||||
String localVarPath = apiOperation.getPath();
|
||||
Map<String, Object> paramMap = new HashMap<>();
|
||||
paramMap.put("uuid_test", uuidTest);
|
||||
|
||||
List<Pair> localVarQueryParams = new ArrayList<Pair>();
|
||||
List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
|
||||
@@ -141,19 +144,25 @@ public class AnotherFakeApi {
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
private okhttp3.Call call123testSpecialTagsValidateBeforeCall(Client body, final ApiCallback _callback) throws ApiException {
|
||||
private okhttp3.Call call123testSpecialTagsValidateBeforeCall(UUID uuidTest, Client body, final ApiCallback _callback) throws ApiException {
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
throw new ApiException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags(Async)");
|
||||
}
|
||||
|
||||
// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
throw new ApiException("Missing the required parameter 'body' when calling call123testSpecialTags(Async)");
|
||||
}
|
||||
|
||||
return call123testSpecialTagsCall(body, _callback);
|
||||
return call123testSpecialTagsCall(uuidTest, body, _callback);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Client
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
@@ -163,14 +172,15 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public Client call123testSpecialTags(Client body) throws ApiException {
|
||||
ApiResponse<Client> localVarResp = call123testSpecialTagsWithHttpInfo(body);
|
||||
public Client call123testSpecialTags(UUID uuidTest, Client body) throws ApiException {
|
||||
ApiResponse<Client> localVarResp = call123testSpecialTagsWithHttpInfo(uuidTest, body);
|
||||
return localVarResp.getData();
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return ApiResponse<Client>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
@@ -180,8 +190,8 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(Client body) throws ApiException {
|
||||
okhttp3.Call localVarCall = call123testSpecialTagsValidateBeforeCall(body, null);
|
||||
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(UUID uuidTest, Client body) throws ApiException {
|
||||
okhttp3.Call localVarCall = call123testSpecialTagsValidateBeforeCall(uuidTest, body, null);
|
||||
Type localVarReturnType = new TypeToken<Client>(){}.getType();
|
||||
return localVarApiClient.execute(localVarCall, localVarReturnType);
|
||||
}
|
||||
@@ -189,6 +199,7 @@ public class AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags (asynchronously)
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param _callback The callback to be executed when the API call finishes
|
||||
* @return The request call
|
||||
@@ -199,9 +210,9 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call call123testSpecialTagsAsync(Client body, final ApiCallback<Client> _callback) throws ApiException {
|
||||
public okhttp3.Call call123testSpecialTagsAsync(UUID uuidTest, Client body, final ApiCallback<Client> _callback) throws ApiException {
|
||||
|
||||
okhttp3.Call localVarCall = call123testSpecialTagsValidateBeforeCall(body, _callback);
|
||||
okhttp3.Call localVarCall = call123testSpecialTagsValidateBeforeCall(uuidTest, body, _callback);
|
||||
Type localVarReturnType = new TypeToken<Client>(){}.getType();
|
||||
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
|
||||
return localVarCall;
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -91,9 +91,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
<a id="call123testSpecialTags"></a>
|
||||
# **call123testSpecialTags**
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -30,9 +30,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -49,6 +50,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -28,6 +28,7 @@ import java.io.IOException;
|
||||
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.ArrayList;
|
||||
@@ -74,6 +75,7 @@ public class AnotherFakeApi {
|
||||
|
||||
/**
|
||||
* Build call for call123testSpecialTags
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param _callback Callback for upload/download progress
|
||||
* @return Call to execute
|
||||
@@ -84,7 +86,7 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call call123testSpecialTagsCall(Client body, final ApiCallback _callback) throws ApiException {
|
||||
public okhttp3.Call call123testSpecialTagsCall(UUID uuidTest, Client body, final ApiCallback _callback) throws ApiException {
|
||||
String basePath = null;
|
||||
// Operation Servers
|
||||
String[] localBasePaths = new String[] { };
|
||||
@@ -109,6 +111,10 @@ public class AnotherFakeApi {
|
||||
Map<String, String> localVarCookieParams = new HashMap<String, String>();
|
||||
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
|
||||
|
||||
if (uuidTest != null) {
|
||||
localVarHeaderParams.put("uuid_test", localVarApiClient.parameterToString(uuidTest));
|
||||
}
|
||||
|
||||
final String[] localVarAccepts = {
|
||||
"application/json"
|
||||
};
|
||||
@@ -130,19 +136,25 @@ public class AnotherFakeApi {
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
private okhttp3.Call call123testSpecialTagsValidateBeforeCall(Client body, final ApiCallback _callback) throws ApiException {
|
||||
private okhttp3.Call call123testSpecialTagsValidateBeforeCall(UUID uuidTest, Client body, final ApiCallback _callback) throws ApiException {
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
throw new ApiException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags(Async)");
|
||||
}
|
||||
|
||||
// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
throw new ApiException("Missing the required parameter 'body' when calling call123testSpecialTags(Async)");
|
||||
}
|
||||
|
||||
return call123testSpecialTagsCall(body, _callback);
|
||||
return call123testSpecialTagsCall(uuidTest, body, _callback);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Client
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
@@ -152,14 +164,15 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public Client call123testSpecialTags(Client body) throws ApiException {
|
||||
ApiResponse<Client> localVarResp = call123testSpecialTagsWithHttpInfo(body);
|
||||
public Client call123testSpecialTags(UUID uuidTest, Client body) throws ApiException {
|
||||
ApiResponse<Client> localVarResp = call123testSpecialTagsWithHttpInfo(uuidTest, body);
|
||||
return localVarResp.getData();
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return ApiResponse<Client>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
@@ -169,8 +182,8 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(Client body) throws ApiException {
|
||||
okhttp3.Call localVarCall = call123testSpecialTagsValidateBeforeCall(body, null);
|
||||
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(UUID uuidTest, Client body) throws ApiException {
|
||||
okhttp3.Call localVarCall = call123testSpecialTagsValidateBeforeCall(uuidTest, body, null);
|
||||
Type localVarReturnType = new TypeToken<Client>(){}.getType();
|
||||
return localVarApiClient.execute(localVarCall, localVarReturnType);
|
||||
}
|
||||
@@ -178,6 +191,7 @@ public class AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags (asynchronously)
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param _callback The callback to be executed when the API call finishes
|
||||
* @return The request call
|
||||
@@ -188,9 +202,9 @@ public class AnotherFakeApi {
|
||||
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call call123testSpecialTagsAsync(Client body, final ApiCallback<Client> _callback) throws ApiException {
|
||||
public okhttp3.Call call123testSpecialTagsAsync(UUID uuidTest, Client body, final ApiCallback<Client> _callback) throws ApiException {
|
||||
|
||||
okhttp3.Call localVarCall = call123testSpecialTagsValidateBeforeCall(body, _callback);
|
||||
okhttp3.Call localVarCall = call123testSpecialTagsValidateBeforeCall(uuidTest, body, _callback);
|
||||
Type localVarReturnType = new TypeToken<Client>(){}.getType();
|
||||
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
|
||||
return localVarCall;
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
<a id="call123testSpecialTags"></a>
|
||||
# **call123testSpecialTags**
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -27,6 +27,7 @@ AnotherFakeApi api = ApiClient.api(ApiClient.Config.apiConfig().withReqSpecSuppl
|
||||
.setBaseUri("http://petstore.swagger.io:80/v2"))).anotherFake();
|
||||
|
||||
api.call123testSpecialTags()
|
||||
.uuidTestHeader(uuidTest)
|
||||
.body(body).execute(r -> r.prettyPeek());
|
||||
```
|
||||
|
||||
@@ -34,6 +35,7 @@ api.call123testSpecialTags()
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
@@ -78,6 +79,7 @@ public class AnotherFakeApi {
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
*
|
||||
* @see #uuidTestHeader to test uuid example value (required)
|
||||
* @see #body client model (required)
|
||||
* return Client
|
||||
*/
|
||||
@@ -126,6 +128,17 @@ public class AnotherFakeApi {
|
||||
return this;
|
||||
}
|
||||
|
||||
public static final String UUID_TEST_HEADER = "uuid_test";
|
||||
|
||||
/**
|
||||
* @param uuidTest (UUID) to test uuid example value (required)
|
||||
* @return operation
|
||||
*/
|
||||
public Call123testSpecialTagsOper uuidTestHeader(String uuidTest) {
|
||||
reqSpec.addHeader(UUID_TEST_HEADER, uuidTest);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Customize request specification
|
||||
* @param reqSpecCustomizer consumer to modify the RequestSpecBuilder
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -9,7 +9,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
<a id="call123testSpecialTags"></a>
|
||||
# **call123testSpecialTags**
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -27,6 +27,7 @@ AnotherFakeApi api = ApiClient.api(ApiClient.Config.apiConfig().withReqSpecSuppl
|
||||
.setBaseUri("http://petstore.swagger.io:80/v2"))).anotherFake();
|
||||
|
||||
api.call123testSpecialTags()
|
||||
.uuidTestHeader(uuidTest)
|
||||
.body(body).execute(r -> r.prettyPeek());
|
||||
```
|
||||
|
||||
@@ -34,6 +35,7 @@ api.call123testSpecialTags()
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -15,6 +15,7 @@ package org.openapitools.client.api;
|
||||
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
@@ -79,6 +80,7 @@ public class AnotherFakeApi {
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
*
|
||||
* @see #uuidTestHeader to test uuid example value (required)
|
||||
* @see #body client model (required)
|
||||
* return Client
|
||||
*/
|
||||
@@ -127,6 +129,17 @@ public class AnotherFakeApi {
|
||||
return this;
|
||||
}
|
||||
|
||||
public static final String UUID_TEST_HEADER = "uuid_test";
|
||||
|
||||
/**
|
||||
* @param uuidTest (UUID) to test uuid example value (required)
|
||||
* @return operation
|
||||
*/
|
||||
public Call123testSpecialTagsOper uuidTestHeader(String uuidTest) {
|
||||
reqSpec.addHeader(UUID_TEST_HEADER, uuidTest);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Customize request specification
|
||||
* @param reqSpecCustomizer consumer to modify the RequestSpecBuilder
|
||||
|
||||
@@ -91,9 +91,10 @@ public class AnotherFakeApiExample {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -8,6 +8,7 @@ import org.openapitools.client.Pair;
|
||||
import javax.ws.rs.core.GenericType;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -37,13 +38,19 @@ public class AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return a {@code Client}
|
||||
* @throws ApiException if fails to make API call
|
||||
*/
|
||||
public Client call123testSpecialTags(Client body) throws ApiException {
|
||||
public Client call123testSpecialTags(UUID uuidTest, Client body) throws ApiException {
|
||||
Object localVarPostBody = body;
|
||||
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
throw new ApiException(400, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
|
||||
}
|
||||
|
||||
// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
throw new ApiException(400, "Missing the required parameter 'body' when calling call123testSpecialTags");
|
||||
@@ -59,7 +66,9 @@ public class AnotherFakeApi {
|
||||
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
|
||||
|
||||
|
||||
|
||||
if (uuidTest != null)
|
||||
localVarHeaderParams.put("uuid_test", apiClient.parameterToString(uuidTest));
|
||||
|
||||
|
||||
|
||||
final String[] localVarAccepts = {
|
||||
|
||||
@@ -91,9 +91,10 @@ public class AnotherFakeApiExample {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -3,6 +3,7 @@ package org.openapitools.client.api;
|
||||
import org.openapitools.client.ApiClient;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
@@ -49,25 +50,32 @@ public class AnotherFakeApi {
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Client
|
||||
* @throws RestClientException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public Client call123testSpecialTags(Client body) throws RestClientException {
|
||||
return call123testSpecialTagsWithHttpInfo(body).getBody();
|
||||
public Client call123testSpecialTags(UUID uuidTest, Client body) throws RestClientException {
|
||||
return call123testSpecialTagsWithHttpInfo(uuidTest, body).getBody();
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return ResponseEntity<Client>
|
||||
* @throws RestClientException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseEntity<Client> call123testSpecialTagsWithHttpInfo(Client body) throws RestClientException {
|
||||
public ResponseEntity<Client> call123testSpecialTagsWithHttpInfo(UUID uuidTest, Client body) throws RestClientException {
|
||||
Object localVarPostBody = body;
|
||||
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
|
||||
}
|
||||
|
||||
// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'body' when calling call123testSpecialTags");
|
||||
@@ -79,6 +87,9 @@ public class AnotherFakeApi {
|
||||
final MultiValueMap<String, String> localVarCookieParams = new LinkedMultiValueMap<String, String>();
|
||||
final MultiValueMap<String, Object> localVarFormParams = new LinkedMultiValueMap<String, Object>();
|
||||
|
||||
if (uuidTest != null)
|
||||
localVarHeaderParams.add("uuid_test", apiClient.parameterToString(uuidTest));
|
||||
|
||||
final String[] localVarAccepts = {
|
||||
"application/json"
|
||||
};
|
||||
|
||||
@@ -91,9 +91,10 @@ public class AnotherFakeApiExample {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -3,6 +3,7 @@ package org.openapitools.client.api;
|
||||
import org.openapitools.client.ApiClient;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
@@ -49,25 +50,32 @@ public class AnotherFakeApi {
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Client
|
||||
* @throws RestClientException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public Client call123testSpecialTags(Client body) throws RestClientException {
|
||||
return call123testSpecialTagsWithHttpInfo(body).getBody();
|
||||
public Client call123testSpecialTags(UUID uuidTest, Client body) throws RestClientException {
|
||||
return call123testSpecialTagsWithHttpInfo(uuidTest, body).getBody();
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* <p><b>200</b> - successful operation
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return ResponseEntity<Client>
|
||||
* @throws RestClientException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseEntity<Client> call123testSpecialTagsWithHttpInfo(Client body) throws RestClientException {
|
||||
public ResponseEntity<Client> call123testSpecialTagsWithHttpInfo(UUID uuidTest, Client body) throws RestClientException {
|
||||
Object localVarPostBody = body;
|
||||
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
|
||||
}
|
||||
|
||||
// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'body' when calling call123testSpecialTags");
|
||||
@@ -79,6 +87,9 @@ public class AnotherFakeApi {
|
||||
final MultiValueMap<String, String> localVarCookieParams = new LinkedMultiValueMap<String, String>();
|
||||
final MultiValueMap<String, Object> localVarFormParams = new LinkedMultiValueMap<String, Object>();
|
||||
|
||||
if (uuidTest != null)
|
||||
localVarHeaderParams.add("uuid_test", apiClient.parameterToString(uuidTest));
|
||||
|
||||
final String[] localVarAccepts = {
|
||||
"application/json"
|
||||
};
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -10,6 +10,7 @@ import okhttp3.ResponseBody;
|
||||
import okhttp3.MultipartBody;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -23,6 +24,7 @@ public interface AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Call<Client>
|
||||
*/
|
||||
@@ -31,7 +33,7 @@ public interface AnotherFakeApi {
|
||||
})
|
||||
@PATCH("another-fake/dummy")
|
||||
CompletionStage<Response<Client>> call123testSpecialTags(
|
||||
@retrofit2.http.Body Client body
|
||||
@retrofit2.http.Header("uuid_test") UUID uuidTest, @retrofit2.http.Body Client body
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -10,6 +10,7 @@ import okhttp3.ResponseBody;
|
||||
import okhttp3.MultipartBody;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -21,6 +22,7 @@ public interface AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Call<Client>
|
||||
*/
|
||||
@@ -29,7 +31,7 @@ public interface AnotherFakeApi {
|
||||
})
|
||||
@PATCH("another-fake/dummy")
|
||||
Call<Client> call123testSpecialTags(
|
||||
@retrofit2.http.Body Client body
|
||||
@retrofit2.http.Header("uuid_test") UUID uuidTest, @retrofit2.http.Body Client body
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -11,6 +11,7 @@ import okhttp3.ResponseBody;
|
||||
import okhttp3.MultipartBody;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -22,6 +23,7 @@ public interface AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Observable<Client>
|
||||
*/
|
||||
@@ -30,7 +32,7 @@ public interface AnotherFakeApi {
|
||||
})
|
||||
@PATCH("another-fake/dummy")
|
||||
Observable<Client> call123testSpecialTags(
|
||||
@retrofit2.http.Body Client body
|
||||
@retrofit2.http.Header("uuid_test") UUID uuidTest, @retrofit2.http.Body Client body
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -11,6 +11,7 @@ import okhttp3.ResponseBody;
|
||||
import okhttp3.MultipartBody;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -22,6 +23,7 @@ public interface AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Observable<Client>
|
||||
*/
|
||||
@@ -30,7 +32,7 @@ public interface AnotherFakeApi {
|
||||
})
|
||||
@PATCH("another-fake/dummy")
|
||||
Observable<Client> call123testSpecialTags(
|
||||
@retrofit2.http.Body Client body
|
||||
@retrofit2.http.Header("uuid_test") UUID uuidTest, @retrofit2.http.Body Client body
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
@@ -91,9 +91,10 @@ public class AnotherFakeApiExample {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -2,6 +2,7 @@ package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiClient;
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
import io.vertx.core.AsyncResult;
|
||||
import io.vertx.core.Handler;
|
||||
import io.vertx.core.json.JsonObject;
|
||||
@@ -10,8 +11,8 @@ import java.util.*;
|
||||
|
||||
public interface AnotherFakeApi {
|
||||
|
||||
void call123testSpecialTags(Client body, Handler<AsyncResult<Client>> handler);
|
||||
void call123testSpecialTags(UUID uuidTest, Client body, Handler<AsyncResult<Client>> handler);
|
||||
|
||||
void call123testSpecialTags(Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> handler);
|
||||
void call123testSpecialTags(UUID uuidTest, Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> handler);
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import io.vertx.core.AsyncResult;
|
||||
import io.vertx.core.Handler;
|
||||
@@ -43,23 +44,31 @@ public class AnotherFakeApiImpl implements AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param resultHandler Asynchronous result handler
|
||||
*/
|
||||
public void call123testSpecialTags(Client body, Handler<AsyncResult<Client>> resultHandler) {
|
||||
call123testSpecialTags(body, null, resultHandler);
|
||||
public void call123testSpecialTags(UUID uuidTest, Client body, Handler<AsyncResult<Client>> resultHandler) {
|
||||
call123testSpecialTags(uuidTest, body, null, resultHandler);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param authInfo per call authentication override.
|
||||
* @param resultHandler Asynchronous result handler
|
||||
*/
|
||||
public void call123testSpecialTags(Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> resultHandler) {
|
||||
public void call123testSpecialTags(UUID uuidTest, Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> resultHandler) {
|
||||
Object localVarBody = body;
|
||||
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
resultHandler.handle(ApiException.fail(400, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags"));
|
||||
return;
|
||||
}
|
||||
|
||||
// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
resultHandler.handle(ApiException.fail(400, "Missing the required parameter 'body' when calling call123testSpecialTags"));
|
||||
@@ -74,7 +83,9 @@ public class AnotherFakeApiImpl implements AnotherFakeApi {
|
||||
|
||||
// header params
|
||||
MultiMap localVarHeaderParams = MultiMap.caseInsensitiveMultiMap();
|
||||
|
||||
if (uuidTest != null)
|
||||
localVarHeaderParams.add("uuid_test", apiClient.parameterToString(uuidTest));
|
||||
|
||||
// cookie params
|
||||
MultiMap localVarCookieParams = MultiMap.caseInsensitiveMultiMap();
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.openapitools.client.api.rxjava;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
import org.openapitools.client.ApiClient;
|
||||
|
||||
import java.util.*;
|
||||
@@ -25,46 +26,50 @@ public class AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param resultHandler Asynchronous result handler
|
||||
*/
|
||||
public void call123testSpecialTags(Client body, Handler<AsyncResult<Client>> resultHandler) {
|
||||
delegate.call123testSpecialTags(body, resultHandler);
|
||||
public void call123testSpecialTags(UUID uuidTest, Client body, Handler<AsyncResult<Client>> resultHandler) {
|
||||
delegate.call123testSpecialTags(uuidTest, body, resultHandler);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param authInfo call specific auth overrides
|
||||
* @param resultHandler Asynchronous result handler
|
||||
*/
|
||||
public void call123testSpecialTags(Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> resultHandler) {
|
||||
delegate.call123testSpecialTags(body, authInfo, resultHandler);
|
||||
public void call123testSpecialTags(UUID uuidTest, Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> resultHandler) {
|
||||
delegate.call123testSpecialTags(uuidTest, body, authInfo, resultHandler);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Asynchronous result handler (RxJava Single)
|
||||
*/
|
||||
public Single<Client> rxCall123testSpecialTags(Client body) {
|
||||
public Single<Client> rxCall123testSpecialTags(UUID uuidTest, Client body) {
|
||||
return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut ->
|
||||
delegate.call123testSpecialTags(body, fut)
|
||||
delegate.call123testSpecialTags(uuidTest, body, fut)
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param authInfo call specific auth overrides
|
||||
* @return Asynchronous result handler (RxJava Single)
|
||||
*/
|
||||
public Single<Client> rxCall123testSpecialTags(Client body, ApiClient.AuthInfo authInfo) {
|
||||
public Single<Client> rxCall123testSpecialTags(UUID uuidTest, Client body, ApiClient.AuthInfo authInfo) {
|
||||
return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut ->
|
||||
delegate.call123testSpecialTags(body, authInfo, fut)
|
||||
delegate.call123testSpecialTags(uuidTest, body, authInfo, fut)
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
@@ -91,9 +91,10 @@ public class AnotherFakeApiExample {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
|
||||
@@ -1013,6 +1013,14 @@ paths:
|
||||
patch:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
parameters:
|
||||
- description: to test uuid example value
|
||||
in: header
|
||||
name: uuid_test
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(body)
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,9 +32,10 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(body);
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -52,6 +53,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -2,6 +2,7 @@ package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiClient;
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
import io.vertx.core.AsyncResult;
|
||||
import io.vertx.core.Handler;
|
||||
import io.vertx.core.json.JsonObject;
|
||||
@@ -10,8 +11,8 @@ import java.util.*;
|
||||
|
||||
public interface AnotherFakeApi {
|
||||
|
||||
void call123testSpecialTags(Client body, Handler<AsyncResult<Client>> handler);
|
||||
void call123testSpecialTags(UUID uuidTest, Client body, Handler<AsyncResult<Client>> handler);
|
||||
|
||||
void call123testSpecialTags(Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> handler);
|
||||
void call123testSpecialTags(UUID uuidTest, Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> handler);
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
|
||||
import io.vertx.core.AsyncResult;
|
||||
import io.vertx.core.Handler;
|
||||
@@ -43,23 +44,31 @@ public class AnotherFakeApiImpl implements AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param resultHandler Asynchronous result handler
|
||||
*/
|
||||
public void call123testSpecialTags(Client body, Handler<AsyncResult<Client>> resultHandler) {
|
||||
call123testSpecialTags(body, null, resultHandler);
|
||||
public void call123testSpecialTags(UUID uuidTest, Client body, Handler<AsyncResult<Client>> resultHandler) {
|
||||
call123testSpecialTags(uuidTest, body, null, resultHandler);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param authInfo per call authentication override.
|
||||
* @param resultHandler Asynchronous result handler
|
||||
*/
|
||||
public void call123testSpecialTags(Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> resultHandler) {
|
||||
public void call123testSpecialTags(UUID uuidTest, Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> resultHandler) {
|
||||
Object localVarBody = body;
|
||||
|
||||
// verify the required parameter 'uuidTest' is set
|
||||
if (uuidTest == null) {
|
||||
resultHandler.handle(ApiException.fail(400, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags"));
|
||||
return;
|
||||
}
|
||||
|
||||
// verify the required parameter 'body' is set
|
||||
if (body == null) {
|
||||
resultHandler.handle(ApiException.fail(400, "Missing the required parameter 'body' when calling call123testSpecialTags"));
|
||||
@@ -74,7 +83,9 @@ public class AnotherFakeApiImpl implements AnotherFakeApi {
|
||||
|
||||
// header params
|
||||
MultiMap localVarHeaderParams = MultiMap.caseInsensitiveMultiMap();
|
||||
|
||||
if (uuidTest != null)
|
||||
localVarHeaderParams.add("uuid_test", apiClient.parameterToString(uuidTest));
|
||||
|
||||
// cookie params
|
||||
MultiMap localVarCookieParams = MultiMap.caseInsensitiveMultiMap();
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.openapitools.client.api.rxjava;
|
||||
|
||||
import org.openapitools.client.model.Client;
|
||||
import java.util.UUID;
|
||||
import org.openapitools.client.ApiClient;
|
||||
|
||||
import java.util.*;
|
||||
@@ -25,46 +26,50 @@ public class AnotherFakeApi {
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param resultHandler Asynchronous result handler
|
||||
*/
|
||||
public void call123testSpecialTags(Client body, Handler<AsyncResult<Client>> resultHandler) {
|
||||
delegate.call123testSpecialTags(body, resultHandler);
|
||||
public void call123testSpecialTags(UUID uuidTest, Client body, Handler<AsyncResult<Client>> resultHandler) {
|
||||
delegate.call123testSpecialTags(uuidTest, body, resultHandler);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param authInfo call specific auth overrides
|
||||
* @param resultHandler Asynchronous result handler
|
||||
*/
|
||||
public void call123testSpecialTags(Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> resultHandler) {
|
||||
delegate.call123testSpecialTags(body, authInfo, resultHandler);
|
||||
public void call123testSpecialTags(UUID uuidTest, Client body, ApiClient.AuthInfo authInfo, Handler<AsyncResult<Client>> resultHandler) {
|
||||
delegate.call123testSpecialTags(uuidTest, body, authInfo, resultHandler);
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @return Asynchronous result handler (RxJava Single)
|
||||
*/
|
||||
public Single<Client> rxCall123testSpecialTags(Client body) {
|
||||
public Single<Client> rxCall123testSpecialTags(UUID uuidTest, Client body) {
|
||||
return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut ->
|
||||
delegate.call123testSpecialTags(body, fut)
|
||||
delegate.call123testSpecialTags(uuidTest, body, fut)
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
* To test special tags and operation ID starting with number
|
||||
* @param uuidTest to test uuid example value (required)
|
||||
* @param body client model (required)
|
||||
* @param authInfo call specific auth overrides
|
||||
* @return Asynchronous result handler (RxJava Single)
|
||||
*/
|
||||
public Single<Client> rxCall123testSpecialTags(Client body, ApiClient.AuthInfo authInfo) {
|
||||
public Single<Client> rxCall123testSpecialTags(UUID uuidTest, Client body, ApiClient.AuthInfo authInfo) {
|
||||
return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut ->
|
||||
delegate.call123testSpecialTags(body, authInfo, fut)
|
||||
delegate.call123testSpecialTags(uuidTest, body, authInfo, fut)
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user