forked from loafle/openapi-generator-original
Fix UUID default value cast exception (swift5) (#16436)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user