forked from loafle/openapi-generator-original
* add validteJsonElement * add oneOf support * various fixes, add tests * minor fixes * minor fixes * update data class * remove comments * array support, add test * update api client constructor * add anyOf support * add new files * fix merge * update * update * update * update
1.0 KiB
1.0 KiB
DefaultApi
All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
testPost | POST /test |
testPost
testPost(apa)
Example
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = DefaultApi()
val apa : Apa = // Apa |
try {
apiInstance.testPost(apa)
} catch (e: ClientException) {
println("4xx response calling DefaultApi#testPost")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling DefaultApi#testPost")
e.printStackTrace()
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
apa | Apa |
Return type
null (empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: Not defined