forked from loafle/openapi-generator-original
[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:
@@ -2,16 +2,16 @@
|
||||
# ModelWithPropertyHavingDefault
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**propertyInt** | **kotlin.Int** | | [optional]
|
||||
**propertyLong** | **kotlin.Long** | | [optional]
|
||||
**propertyFloat1** | **kotlin.Float** | | [optional]
|
||||
**propertyFloat2** | **kotlin.Float** | | [optional]
|
||||
**propertyFloat3** | **kotlin.Float** | | [optional]
|
||||
**propertyDouble1** | **kotlin.Double** | | [optional]
|
||||
**propertyDouble2** | **kotlin.Double** | | [optional]
|
||||
**propertyDouble3** | **kotlin.Double** | | [optional]
|
||||
| Name | Type | Description | Notes |
|
||||
| ------------ | ------------- | ------------- | ------------- |
|
||||
| **propertyInt** | **kotlin.Int** | | [optional] |
|
||||
| **propertyLong** | **kotlin.Long** | | [optional] |
|
||||
| **propertyFloat1** | **kotlin.Float** | | [optional] |
|
||||
| **propertyFloat2** | **kotlin.Float** | | [optional] |
|
||||
| **propertyFloat3** | **kotlin.Float** | | [optional] |
|
||||
| **propertyDouble1** | **kotlin.Double** | | [optional] |
|
||||
| **propertyDouble2** | **kotlin.Double** | | [optional] |
|
||||
| **propertyDouble3** | **kotlin.Double** | | [optional] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -58,5 +58,8 @@ data class ModelWithPropertyHavingDefault (
|
||||
@SerializedName("propertyDouble3")
|
||||
val propertyDouble3: kotlin.Double? = 0.01
|
||||
|
||||
)
|
||||
) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user