forked from loafle/openapi-generator-original
[kotlin][client] add tests for comma separated list in array path params (#11293)
* add tests for kotlin-array-simple-string * add new files * remove build fies * clean up
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
# DefaultApi
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**idsGet**](DefaultApi.md#idsGet) | **GET** /{ids} |
|
||||
|
||||
|
||||
<a name="idsGet"></a>
|
||||
# **idsGet**
|
||||
> idsGet(ids)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
```kotlin
|
||||
// Import classes:
|
||||
//import org.openapitools.client.infrastructure.*
|
||||
//import org.openapitools.client.models.*
|
||||
|
||||
val apiInstance = DefaultApi()
|
||||
val ids : kotlin.collections.List<kotlin.String> = // kotlin.collections.List<kotlin.String> |
|
||||
try {
|
||||
apiInstance.idsGet(ids)
|
||||
} catch (e: ClientException) {
|
||||
println("4xx response calling DefaultApi#idsGet")
|
||||
e.printStackTrace()
|
||||
} catch (e: ServerException) {
|
||||
println("5xx response calling DefaultApi#idsGet")
|
||||
e.printStackTrace()
|
||||
}
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ids** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| |
|
||||
|
||||
### Return type
|
||||
|
||||
null (empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
Reference in New Issue
Block a user