forked from loafle/openapi-generator-original
Bugfix Kotlin-client: Can now handle default dataclass values for multiplatform (#12242)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
|
||||
# Apa
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**bepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
|
||||
**cepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
|
||||
**depa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
|
||||
**epa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
|
||||
**fepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
|
||||
**gepa** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
# DefaultApi
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**testPost**](DefaultApi.md#testPost) | **POST** /test |
|
||||
|
||||
|
||||
<a name="testPost"></a>
|
||||
# **testPost**
|
||||
> testPost(apa)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
```kotlin
|
||||
// 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**](Apa.md)| |
|
||||
|
||||
### Return type
|
||||
|
||||
null (empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: Not defined
|
||||
|
||||
Reference in New Issue
Block a user