[Kotlin] Add name, parameter mapping support (#16193)

* add name, parameter mapping support to abstract kotlin

* remove files
This commit is contained in:
William Cheng
2023-07-28 09:42:08 +08:00
committed by GitHub
parent 86cf4f1eb1
commit 184dfd2edd
35 changed files with 1370 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
# FakeApi
All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
[**getParameterNameMapping**](FakeApi.md#getParameterNameMapping) | **GET** /fake/parameter-name-mapping | parameter name mapping test
<a id="getParameterNameMapping"></a>
# **getParameterNameMapping**
> getParameterNameMapping(underscoreType, type, typeWithUnderscore, httpDebugOption)
parameter name mapping test
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = FakeApi()
val underscoreType : kotlin.Long = 789 // kotlin.Long | _type
val type : kotlin.String = type_example // kotlin.String | type
val typeWithUnderscore : kotlin.String = typeWithUnderscore_example // kotlin.String | type_
val httpDebugOption : kotlin.String = httpDebugOption_example // kotlin.String | http debug option (to test parameter naming option)
try {
apiInstance.getParameterNameMapping(underscoreType, type, typeWithUnderscore, httpDebugOption)
} catch (e: ClientException) {
println("4xx response calling FakeApi#getParameterNameMapping")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FakeApi#getParameterNameMapping")
e.printStackTrace()
}
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**underscoreType** | **kotlin.Long**| _type |
**type** | **kotlin.String**| type |
**typeWithUnderscore** | **kotlin.String**| type_ |
**httpDebugOption** | **kotlin.String**| http debug option (to test parameter naming option) |
### Return type
null (empty response body)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined