[Kotlin] Fix wrong default value is generated for non-integer numbers (#13507)

* ISSUE-13506 fix number value for default values when they are number

* ISSUE-13506 test and sample update
This commit is contained in:
Mostafa Aghajani
2022-09-23 16:02:49 +02:00
committed by GitHub
parent d25cdbb2ce
commit 9d621342e0
5 changed files with 159 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
# 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]