forked from loafle/openapi-generator-original
* Bugfix Kotlin-client: Can now handle path param of type list for jvm-volley and multiplatform. Also cleaning up generated code * Adding samples to github workflow. Deleting old workflow * Tweaking setup of jvm-volley * Updating samples Co-authored-by: William Cheng <wing328hk@gmail.com>
1.1 KiB
1.1 KiB
DefaultApi
All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
idsGet | GET /{ids} |
idsGet
idsGet(ids)
Example
// 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> |
Return type
null (empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined