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