mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-20 15:47:13 +00:00
fix(java): default values from allOfs are not correctly definied (#22200)
* fix: extend check for default values of integer and number schema * add testcases to openapi specs * generate java clients with the updated fix
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
# AllOfRefToDouble
|
||||
|
||||
Object with allOf ref to double
|
||||
|
||||
## Properties
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------ | ------------- | ------------- | -------------|
|
||||
|**height** | **Double** | Height as double | [optional] |
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
# AllOfRefToFloat
|
||||
|
||||
Object with allOf ref to float
|
||||
|
||||
## Properties
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------ | ------------- | ------------- | -------------|
|
||||
|**weight** | **Float** | Weight as float | [optional] |
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
# AllOfRefToLong
|
||||
|
||||
Object with allOf ref to long
|
||||
|
||||
## Properties
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------ | ------------- | ------------- | -------------|
|
||||
|**id** | **Long** | Id as long | [optional] |
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user