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:
@@ -377,9 +377,22 @@ components:
|
||||
type: object
|
||||
xml:
|
||||
name: pet
|
||||
StringEnumRef:
|
||||
enum:
|
||||
- success
|
||||
- failure
|
||||
- unclassified
|
||||
type: string
|
||||
DefaultValue:
|
||||
description: to test the default value of properties
|
||||
properties:
|
||||
array_string_enum_ref_default:
|
||||
default:
|
||||
- success
|
||||
- failure
|
||||
items:
|
||||
$ref: '#/components/schemas/StringEnumRef'
|
||||
type: array
|
||||
array_string_enum_default:
|
||||
default:
|
||||
- success
|
||||
|
||||
Reference in New Issue
Block a user