[Kotlin][Tests]: Add test for kotlin-jvm-okhttp (#20338)

* feat(issue-20231): add echo_api client for kotlin okhttp

* build(issue-20231): sync files
This commit is contained in:
Jorge Fernandez
2024-12-17 14:50:00 +01:00
committed by GitHub
parent b01c8be47f
commit 9fec13af85
77 changed files with 5702 additions and 0 deletions

View File

@@ -0,0 +1,101 @@
# AuthApi
All URIs are relative to *http://localhost:3000*
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**testAuthHttpBasic**](AuthApi.md#testAuthHttpBasic) | **POST** /auth/http/basic | To test HTTP basic authentication |
| [**testAuthHttpBearer**](AuthApi.md#testAuthHttpBearer) | **POST** /auth/http/bearer | To test HTTP bearer authentication |
<a id="testAuthHttpBasic"></a>
# **testAuthHttpBasic**
> kotlin.String testAuthHttpBasic()
To test HTTP basic authentication
To test HTTP basic authentication
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = AuthApi()
try {
val result : kotlin.String = apiInstance.testAuthHttpBasic()
println(result)
} catch (e: ClientException) {
println("4xx response calling AuthApi#testAuthHttpBasic")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AuthApi#testAuthHttpBasic")
e.printStackTrace()
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
**kotlin.String**
### Authorization
Configure http_auth:
ApiClient.username = ""
ApiClient.password = ""
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain
<a id="testAuthHttpBearer"></a>
# **testAuthHttpBearer**
> kotlin.String testAuthHttpBearer()
To test HTTP bearer authentication
To test HTTP bearer authentication
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = AuthApi()
try {
val result : kotlin.String = apiInstance.testAuthHttpBearer()
println(result)
} catch (e: ClientException) {
println("4xx response calling AuthApi#testAuthHttpBearer")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AuthApi#testAuthHttpBearer")
e.printStackTrace()
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
**kotlin.String**
### Authorization
Configure http_bearer_auth:
ApiClient.accessToken = ""
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain

View File

@@ -0,0 +1,11 @@
# ApiBird
## Properties
| Name | Type | Description | Notes |
| ------------ | ------------- | ------------- | ------------- |
| **propertySize** | **kotlin.String** | | [optional] |
| **color** | **kotlin.String** | | [optional] |

View File

@@ -0,0 +1,381 @@
# BodyApi
All URIs are relative to *http://localhost:3000*
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**testBinaryGif**](BodyApi.md#testBinaryGif) | **POST** /binary/gif | Test binary (gif) response body |
| [**testBodyApplicationOctetstreamBinary**](BodyApi.md#testBodyApplicationOctetstreamBinary) | **POST** /body/application/octetstream/binary | Test body parameter(s) |
| [**testBodyMultipartFormdataArrayOfBinary**](BodyApi.md#testBodyMultipartFormdataArrayOfBinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime |
| [**testBodyMultipartFormdataSingleBinary**](BodyApi.md#testBodyMultipartFormdataSingleBinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime |
| [**testEchoBodyFreeFormObjectResponseString**](BodyApi.md#testEchoBodyFreeFormObjectResponseString) | **POST** /echo/body/FreeFormObject/response_string | Test free form object |
| [**testEchoBodyPet**](BodyApi.md#testEchoBodyPet) | **POST** /echo/body/Pet | Test body parameter(s) |
| [**testEchoBodyPetResponseString**](BodyApi.md#testEchoBodyPetResponseString) | **POST** /echo/body/Pet/response_string | Test empty response body |
| [**testEchoBodyTagResponseString**](BodyApi.md#testEchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body) |
<a id="testBinaryGif"></a>
# **testBinaryGif**
> java.io.File testBinaryGif()
Test binary (gif) response body
Test binary (gif) response body
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = BodyApi()
try {
val result : java.io.File = apiInstance.testBinaryGif()
println(result)
} catch (e: ClientException) {
println("4xx response calling BodyApi#testBinaryGif")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling BodyApi#testBinaryGif")
e.printStackTrace()
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**java.io.File**](java.io.File.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
<a id="testBodyApplicationOctetstreamBinary"></a>
# **testBodyApplicationOctetstreamBinary**
> kotlin.String testBodyApplicationOctetstreamBinary(body)
Test body parameter(s)
Test body parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = BodyApi()
val body : java.io.File = BINARY_DATA_HERE // java.io.File |
try {
val result : kotlin.String = apiInstance.testBodyApplicationOctetstreamBinary(body)
println(result)
} catch (e: ClientException) {
println("4xx response calling BodyApi#testBodyApplicationOctetstreamBinary")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling BodyApi#testBodyApplicationOctetstreamBinary")
e.printStackTrace()
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **body** | **java.io.File**| | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/octet-stream
- **Accept**: text/plain
<a id="testBodyMultipartFormdataArrayOfBinary"></a>
# **testBodyMultipartFormdataArrayOfBinary**
> kotlin.String testBodyMultipartFormdataArrayOfBinary(files)
Test array of binary in multipart mime
Test array of binary in multipart mime
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = BodyApi()
val files : kotlin.collections.List<java.io.File> = /path/to/file.txt // kotlin.collections.List<java.io.File> |
try {
val result : kotlin.String = apiInstance.testBodyMultipartFormdataArrayOfBinary(files)
println(result)
} catch (e: ClientException) {
println("4xx response calling BodyApi#testBodyMultipartFormdataArrayOfBinary")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling BodyApi#testBodyMultipartFormdataArrayOfBinary")
e.printStackTrace()
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **files** | **kotlin.collections.List&lt;java.io.File&gt;**| | |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: text/plain
<a id="testBodyMultipartFormdataSingleBinary"></a>
# **testBodyMultipartFormdataSingleBinary**
> kotlin.String testBodyMultipartFormdataSingleBinary(myFile)
Test single binary in multipart mime
Test single binary in multipart mime
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = BodyApi()
val myFile : java.io.File = BINARY_DATA_HERE // java.io.File |
try {
val result : kotlin.String = apiInstance.testBodyMultipartFormdataSingleBinary(myFile)
println(result)
} catch (e: ClientException) {
println("4xx response calling BodyApi#testBodyMultipartFormdataSingleBinary")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling BodyApi#testBodyMultipartFormdataSingleBinary")
e.printStackTrace()
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **myFile** | **java.io.File**| | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: multipart/form-data
- **Accept**: text/plain
<a id="testEchoBodyFreeFormObjectResponseString"></a>
# **testEchoBodyFreeFormObjectResponseString**
> kotlin.String testEchoBodyFreeFormObjectResponseString(body)
Test free form object
Test free form object
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = BodyApi()
val body : kotlin.Any = Object // kotlin.Any | Free form object
try {
val result : kotlin.String = apiInstance.testEchoBodyFreeFormObjectResponseString(body)
println(result)
} catch (e: ClientException) {
println("4xx response calling BodyApi#testEchoBodyFreeFormObjectResponseString")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling BodyApi#testEchoBodyFreeFormObjectResponseString")
e.printStackTrace()
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **body** | **kotlin.Any**| Free form object | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: text/plain
<a id="testEchoBodyPet"></a>
# **testEchoBodyPet**
> ApiPet testEchoBodyPet(apiPet)
Test body parameter(s)
Test body parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = BodyApi()
val apiPet : ApiPet = // ApiPet | Pet object that needs to be added to the store
try {
val result : ApiPet = apiInstance.testEchoBodyPet(apiPet)
println(result)
} catch (e: ClientException) {
println("4xx response calling BodyApi#testEchoBodyPet")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling BodyApi#testEchoBodyPet")
e.printStackTrace()
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **apiPet** | [**ApiPet**](ApiPet.md)| Pet object that needs to be added to the store | [optional] |
### Return type
[**ApiPet**](ApiPet.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
<a id="testEchoBodyPetResponseString"></a>
# **testEchoBodyPetResponseString**
> kotlin.String testEchoBodyPetResponseString(apiPet)
Test empty response body
Test empty response body
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = BodyApi()
val apiPet : ApiPet = // ApiPet | Pet object that needs to be added to the store
try {
val result : kotlin.String = apiInstance.testEchoBodyPetResponseString(apiPet)
println(result)
} catch (e: ClientException) {
println("4xx response calling BodyApi#testEchoBodyPetResponseString")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling BodyApi#testEchoBodyPetResponseString")
e.printStackTrace()
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **apiPet** | [**ApiPet**](ApiPet.md)| Pet object that needs to be added to the store | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: text/plain
<a id="testEchoBodyTagResponseString"></a>
# **testEchoBodyTagResponseString**
> kotlin.String testEchoBodyTagResponseString(apiTag)
Test empty json (request body)
Test empty json (request body)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = BodyApi()
val apiTag : ApiTag = // ApiTag | Tag object
try {
val result : kotlin.String = apiInstance.testEchoBodyTagResponseString(apiTag)
println(result)
} catch (e: ClientException) {
println("4xx response calling BodyApi#testEchoBodyTagResponseString")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling BodyApi#testEchoBodyTagResponseString")
e.printStackTrace()
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **apiTag** | [**ApiTag**](ApiTag.md)| Tag object | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: text/plain

View File

@@ -0,0 +1,11 @@
# ApiCategory
## Properties
| Name | Type | Description | Notes |
| ------------ | ------------- | ------------- | ------------- |
| **id** | **kotlin.Long** | | [optional] |
| **name** | **kotlin.String** | | [optional] |

View File

@@ -0,0 +1,24 @@
# ApiDefaultValue
## Properties
| Name | Type | Description | Notes |
| ------------ | ------------- | ------------- | ------------- |
| **arrayStringEnumRefDefault** | [**kotlin.collections.List&lt;ApiStringEnumRef&gt;**](ApiStringEnumRef.md) | | [optional] |
| **arrayStringEnumDefault** | [**inline**](#kotlin.collections.List&lt;ArrayStringEnumDefault&gt;) | | [optional] |
| **arrayStringDefault** | **kotlin.collections.List&lt;kotlin.String&gt;** | | [optional] |
| **arrayIntegerDefault** | **kotlin.collections.List&lt;kotlin.Int&gt;** | | [optional] |
| **arrayString** | **kotlin.collections.List&lt;kotlin.String&gt;** | | [optional] |
| **arrayStringNullable** | **kotlin.collections.List&lt;kotlin.String&gt;** | | [optional] |
| **arrayStringExtensionNullable** | **kotlin.collections.List&lt;kotlin.String&gt;** | | [optional] |
| **stringNullable** | **kotlin.String** | | [optional] |
<a id="kotlin.collections.List<ArrayStringEnumDefault>"></a>
## Enum: array_string_enum_default
| Name | Value |
| ---- | ----- |
| arrayStringEnumDefault | success, failure, unclassified |

View File

@@ -0,0 +1,116 @@
# FormApi
All URIs are relative to *http://localhost:3000*
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**testFormIntegerBooleanString**](FormApi.md#testFormIntegerBooleanString) | **POST** /form/integer/boolean/string | Test form parameter(s) |
| [**testFormOneof**](FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema |
<a id="testFormIntegerBooleanString"></a>
# **testFormIntegerBooleanString**
> kotlin.String testFormIntegerBooleanString(integerForm, booleanForm, stringForm)
Test form parameter(s)
Test form parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = FormApi()
val integerForm : kotlin.Int = 56 // kotlin.Int |
val booleanForm : kotlin.Boolean = true // kotlin.Boolean |
val stringForm : kotlin.String = stringForm_example // kotlin.String |
try {
val result : kotlin.String = apiInstance.testFormIntegerBooleanString(integerForm, booleanForm, stringForm)
println(result)
} catch (e: ClientException) {
println("4xx response calling FormApi#testFormIntegerBooleanString")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FormApi#testFormIntegerBooleanString")
e.printStackTrace()
}
```
### Parameters
| **integerForm** | **kotlin.Int**| | [optional] |
| **booleanForm** | **kotlin.Boolean**| | [optional] |
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **stringForm** | **kotlin.String**| | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/x-www-form-urlencoded
- **Accept**: text/plain
<a id="testFormOneof"></a>
# **testFormOneof**
> kotlin.String testFormOneof(form1, form2, form3, form4, id, name)
Test form parameter(s) for oneOf schema
Test form parameter(s) for oneOf schema
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = FormApi()
val form1 : kotlin.String = form1_example // kotlin.String |
val form2 : kotlin.Int = 56 // kotlin.Int |
val form3 : kotlin.String = form3_example // kotlin.String |
val form4 : kotlin.Boolean = true // kotlin.Boolean |
val id : kotlin.Long = 789 // kotlin.Long |
val name : kotlin.String = name_example // kotlin.String |
try {
val result : kotlin.String = apiInstance.testFormOneof(form1, form2, form3, form4, id, name)
println(result)
} catch (e: ClientException) {
println("4xx response calling FormApi#testFormOneof")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FormApi#testFormOneof")
e.printStackTrace()
}
```
### Parameters
| **form1** | **kotlin.String**| | [optional] |
| **form2** | **kotlin.Int**| | [optional] |
| **form3** | **kotlin.String**| | [optional] |
| **form4** | **kotlin.Boolean**| | [optional] |
| **id** | **kotlin.Long**| | [optional] |
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **name** | **kotlin.String**| | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/x-www-form-urlencoded
- **Accept**: text/plain

View File

@@ -0,0 +1,63 @@
# HeaderApi
All URIs are relative to *http://localhost:3000*
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**testHeaderIntegerBooleanStringEnums**](HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s) |
<a id="testHeaderIntegerBooleanStringEnums"></a>
# **testHeaderIntegerBooleanStringEnums**
> kotlin.String testHeaderIntegerBooleanStringEnums(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader)
Test header parameter(s)
Test header parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = HeaderApi()
val integerHeader : kotlin.Int = 56 // kotlin.Int |
val booleanHeader : kotlin.Boolean = true // kotlin.Boolean |
val stringHeader : kotlin.String = stringHeader_example // kotlin.String |
val enumNonrefStringHeader : kotlin.String = enumNonrefStringHeader_example // kotlin.String |
val enumRefStringHeader : ApiStringEnumRef = // ApiStringEnumRef |
try {
val result : kotlin.String = apiInstance.testHeaderIntegerBooleanStringEnums(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader)
println(result)
} catch (e: ClientException) {
println("4xx response calling HeaderApi#testHeaderIntegerBooleanStringEnums")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling HeaderApi#testHeaderIntegerBooleanStringEnums")
e.printStackTrace()
}
```
### Parameters
| **integerHeader** | **kotlin.Int**| | [optional] |
| **booleanHeader** | **kotlin.Boolean**| | [optional] |
| **stringHeader** | **kotlin.String**| | [optional] |
| **enumNonrefStringHeader** | **kotlin.String**| | [optional] [enum: success, failure, unclassified] |
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **enumRefStringHeader** | [**ApiStringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain

View File

@@ -0,0 +1,12 @@
# ApiNumberPropertiesOnly
## Properties
| Name | Type | Description | Notes |
| ------------ | ------------- | ------------- | ------------- |
| **number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] |
| **float** | **kotlin.Float** | | [optional] |
| **double** | **kotlin.Double** | | [optional] |

View File

@@ -0,0 +1,61 @@
# PathApi
All URIs are relative to *http://localhost:3000*
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
<a id="testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"></a>
# **testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
> kotlin.String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
Test path parameter(s)
Test path parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = PathApi()
val pathString : kotlin.String = pathString_example // kotlin.String |
val pathInteger : kotlin.Int = 56 // kotlin.Int |
val enumNonrefStringPath : kotlin.String = enumNonrefStringPath_example // kotlin.String |
val enumRefStringPath : ApiStringEnumRef = // ApiStringEnumRef |
try {
val result : kotlin.String = apiInstance.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
println(result)
} catch (e: ClientException) {
println("4xx response calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
e.printStackTrace()
}
```
### Parameters
| **pathString** | **kotlin.String**| | |
| **pathInteger** | **kotlin.Int**| | |
| **enumNonrefStringPath** | **kotlin.String**| | [enum: success, failure, unclassified] |
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **enumRefStringPath** | [**ApiStringEnumRef**](.md)| | [enum: success, failure, unclassified] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain

View File

@@ -0,0 +1,22 @@
# ApiPet
## Properties
| Name | Type | Description | Notes |
| ------------ | ------------- | ------------- | ------------- |
| **name** | **kotlin.String** | | |
| **photoUrls** | **kotlin.collections.List&lt;kotlin.String&gt;** | | |
| **id** | **kotlin.Long** | | [optional] |
| **category** | [**ApiCategory**](ApiCategory.md) | | [optional] |
| **tags** | [**kotlin.collections.List&lt;ApiTag&gt;**](ApiTag.md) | | [optional] |
| **status** | [**inline**](#Status) | pet status in the store | [optional] |
<a id="Status"></a>
## Enum: status
| Name | Value |
| ---- | ----- |
| status | available, pending, sold |

View File

@@ -0,0 +1,18 @@
# ApiQuery
## Properties
| Name | Type | Description | Notes |
| ------------ | ------------- | ------------- | ------------- |
| **id** | **kotlin.Long** | Query | [optional] |
| **outcomes** | [**inline**](#kotlin.collections.List&lt;Outcomes&gt;) | | [optional] |
<a id="kotlin.collections.List<Outcomes>"></a>
## Enum: outcomes
| Name | Value |
| ---- | ----- |
| outcomes | SUCCESS, FAILURE, SKIPPED |

View File

@@ -0,0 +1,300 @@
# QueryApi
All URIs are relative to *http://localhost:3000*
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**testEnumRefString**](QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s) |
| [**testQueryDatetimeDateString**](QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s) |
| [**testQueryIntegerBooleanString**](QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s) |
| [**testQueryStyleDeepObjectExplodeTrueObject**](QueryApi.md#testQueryStyleDeepObjectExplodeTrueObject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s) |
| [**testQueryStyleFormExplodeTrueArrayString**](QueryApi.md#testQueryStyleFormExplodeTrueArrayString) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s) |
| [**testQueryStyleFormExplodeTrueObject**](QueryApi.md#testQueryStyleFormExplodeTrueObject) | **GET** /query/style_form/explode_true/object | Test query parameter(s) |
<a id="testEnumRefString"></a>
# **testEnumRefString**
> kotlin.String testEnumRefString(enumNonrefStringQuery, enumRefStringQuery)
Test query parameter(s)
Test query parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = QueryApi()
val enumNonrefStringQuery : kotlin.String = enumNonrefStringQuery_example // kotlin.String |
val enumRefStringQuery : ApiStringEnumRef = // ApiStringEnumRef |
try {
val result : kotlin.String = apiInstance.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery)
println(result)
} catch (e: ClientException) {
println("4xx response calling QueryApi#testEnumRefString")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling QueryApi#testEnumRefString")
e.printStackTrace()
}
```
### Parameters
| **enumNonrefStringQuery** | **kotlin.String**| | [optional] [enum: success, failure, unclassified] |
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **enumRefStringQuery** | [**ApiStringEnumRef**](.md)| | [optional] [enum: success, failure, unclassified] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain
<a id="testQueryDatetimeDateString"></a>
# **testQueryDatetimeDateString**
> kotlin.String testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery)
Test query parameter(s)
Test query parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = QueryApi()
val datetimeQuery : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val dateQuery : java.time.LocalDate = 2013-10-20 // java.time.LocalDate |
val stringQuery : kotlin.String = stringQuery_example // kotlin.String |
try {
val result : kotlin.String = apiInstance.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery)
println(result)
} catch (e: ClientException) {
println("4xx response calling QueryApi#testQueryDatetimeDateString")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling QueryApi#testQueryDatetimeDateString")
e.printStackTrace()
}
```
### Parameters
| **datetimeQuery** | **java.time.OffsetDateTime**| | [optional] |
| **dateQuery** | **java.time.LocalDate**| | [optional] |
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **stringQuery** | **kotlin.String**| | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain
<a id="testQueryIntegerBooleanString"></a>
# **testQueryIntegerBooleanString**
> kotlin.String testQueryIntegerBooleanString(integerQuery, booleanQuery, stringQuery)
Test query parameter(s)
Test query parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = QueryApi()
val integerQuery : kotlin.Int = 56 // kotlin.Int |
val booleanQuery : kotlin.Boolean = true // kotlin.Boolean |
val stringQuery : kotlin.String = stringQuery_example // kotlin.String |
try {
val result : kotlin.String = apiInstance.testQueryIntegerBooleanString(integerQuery, booleanQuery, stringQuery)
println(result)
} catch (e: ClientException) {
println("4xx response calling QueryApi#testQueryIntegerBooleanString")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling QueryApi#testQueryIntegerBooleanString")
e.printStackTrace()
}
```
### Parameters
| **integerQuery** | **kotlin.Int**| | [optional] |
| **booleanQuery** | **kotlin.Boolean**| | [optional] |
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **stringQuery** | **kotlin.String**| | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain
<a id="testQueryStyleDeepObjectExplodeTrueObject"></a>
# **testQueryStyleDeepObjectExplodeTrueObject**
> kotlin.String testQueryStyleDeepObjectExplodeTrueObject(queryObject)
Test query parameter(s)
Test query parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = QueryApi()
val queryObject : ApiPet = // ApiPet |
try {
val result : kotlin.String = apiInstance.testQueryStyleDeepObjectExplodeTrueObject(queryObject)
println(result)
} catch (e: ClientException) {
println("4xx response calling QueryApi#testQueryStyleDeepObjectExplodeTrueObject")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling QueryApi#testQueryStyleDeepObjectExplodeTrueObject")
e.printStackTrace()
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **queryObject** | [**ApiPet**](.md)| | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain
<a id="testQueryStyleFormExplodeTrueArrayString"></a>
# **testQueryStyleFormExplodeTrueArrayString**
> kotlin.String testQueryStyleFormExplodeTrueArrayString(queryObject)
Test query parameter(s)
Test query parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = QueryApi()
val queryObject : ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter = // ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter |
try {
val result : kotlin.String = apiInstance.testQueryStyleFormExplodeTrueArrayString(queryObject)
println(result)
} catch (e: ClientException) {
println("4xx response calling QueryApi#testQueryStyleFormExplodeTrueArrayString")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling QueryApi#testQueryStyleFormExplodeTrueArrayString")
e.printStackTrace()
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **queryObject** | [**ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter**](.md)| | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain
<a id="testQueryStyleFormExplodeTrueObject"></a>
# **testQueryStyleFormExplodeTrueObject**
> kotlin.String testQueryStyleFormExplodeTrueObject(queryObject)
Test query parameter(s)
Test query parameter(s)
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = QueryApi()
val queryObject : ApiPet = // ApiPet |
try {
val result : kotlin.String = apiInstance.testQueryStyleFormExplodeTrueObject(queryObject)
println(result)
} catch (e: ClientException) {
println("4xx response calling QueryApi#testQueryStyleFormExplodeTrueObject")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling QueryApi#testQueryStyleFormExplodeTrueObject")
e.printStackTrace()
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **queryObject** | [**ApiPet**](.md)| | [optional] |
### Return type
**kotlin.String**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain

View File

@@ -0,0 +1,14 @@
# ApiStringEnumRef
## Enum
* `success` (value: `"success"`)
* `failure` (value: `"failure"`)
* `unclassified` (value: `"unclassified"`)

View File

@@ -0,0 +1,11 @@
# ApiTag
## Properties
| Name | Type | Description | Notes |
| ------------ | ------------- | ------------- | ------------- |
| **id** | **kotlin.Long** | | [optional] |
| **name** | **kotlin.String** | | [optional] |

View File

@@ -0,0 +1,10 @@
# ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
## Properties
| Name | Type | Description | Notes |
| ------------ | ------------- | ------------- | ------------- |
| **propertyValues** | **kotlin.collections.List&lt;kotlin.String&gt;** | | [optional] |