Bugfix Kotlin-client: Can now handle default dataclass values for multiplatform (#12242)

This commit is contained in:
Johan Sjöblom
2022-04-26 12:51:19 +00:00
committed by GitHub
parent 5de527e784
commit 074010e124
67 changed files with 2511 additions and 4 deletions

View File

@@ -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]

View File

@@ -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