Fix UUID default value cast exception (swift5) (#16436)

This commit is contained in:
William Cheng
2023-08-29 19:32:01 +08:00
committed by GitHub
parent b14f99df92
commit b1564d8002
117 changed files with 678 additions and 176 deletions

View File

@@ -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);
}