forked from loafle/openapi-generator-original
[java] Fix enum ref issue in array default value (#14638)
* fix enum ref issue in array default value (java) * update samples * update tests * update samples
This commit is contained in:
@@ -8,6 +8,7 @@ to test the default value of properties
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------ | ------------- | ------------- | -------------|
|
||||
|**arrayStringEnumRefDefault** | **List<StringEnumRef>** | | [optional] |
|
||||
|**arrayStringEnumDefault** | [**List<ArrayStringEnumDefaultEnum>**](#List<ArrayStringEnumDefaultEnum>) | | [optional] |
|
||||
|**arrayStringDefault** | **List<String>** | | [optional] |
|
||||
|**arrayIntegerDefault** | **List<Integer>** | | [optional] |
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
# StringEnumRef
|
||||
|
||||
## Enum
|
||||
|
||||
|
||||
* `SUCCESS` (value: `"success"`)
|
||||
|
||||
* `FAILURE` (value: `"failure"`)
|
||||
|
||||
* `UNCLASSIFIED` (value: `"unclassified"`)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user