mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 10:26:13 +00:00
[kotlin] better oneOf, anyOf support (#18382)
* 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
This commit is contained in:
@@ -34,9 +34,9 @@ This runs all tests and packages the library.
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
Class | Method | HTTP request | Description
|
||||
------------ | ------------- | ------------- | -------------
|
||||
*DefaultApi* | [**testPost**](docs/DefaultApi.md#testpost) | **POST** /test |
|
||||
| Class | Method | HTTP request | Description |
|
||||
| ------------ | ------------- | ------------- | ------------- |
|
||||
| *DefaultApi* | [**testPost**](docs/DefaultApi.md#testpost) | **POST** /test | |
|
||||
|
||||
|
||||
<a id="documentation-for-models"></a>
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
# Apa
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**bepa** | **kotlin.Double** | |
|
||||
**cepa** | **kotlin.Double** | |
|
||||
**depa** | **kotlin.Double** | | [optional]
|
||||
**epa** | **kotlin.Double** | | [optional]
|
||||
**fepa** | **kotlin.Double** | | [optional]
|
||||
**gepa** | **kotlin.Double** | | [optional]
|
||||
| Name | Type | Description | Notes |
|
||||
| ------------ | ------------- | ------------- | ------------- |
|
||||
| **bepa** | **kotlin.Double** | | |
|
||||
| **cepa** | **kotlin.Double** | | |
|
||||
| **depa** | **kotlin.Double** | | [optional] |
|
||||
| **epa** | **kotlin.Double** | | [optional] |
|
||||
| **fepa** | **kotlin.Double** | | [optional] |
|
||||
| **gepa** | **kotlin.Double** | | [optional] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**testPost**](DefaultApi.md#testPost) | **POST** /test |
|
||||
| Method | HTTP request | Description |
|
||||
| ------------- | ------------- | ------------- |
|
||||
| [**testPost**](DefaultApi.md#testPost) | **POST** /test | |
|
||||
|
||||
|
||||
<a id="testPost"></a>
|
||||
@@ -33,10 +33,9 @@ try {
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**apa** | [**Apa**](Apa.md)| |
|
||||
| Name | Type | Description | Notes |
|
||||
| ------------- | ------------- | ------------- | ------------- |
|
||||
| **apa** | [**Apa**](Apa.md)| | |
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
@@ -47,5 +47,8 @@ data class Apa (
|
||||
|
||||
@SerialName(value = "gepa") val gepa: kotlin.Double? = null
|
||||
|
||||
)
|
||||
) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user