forked from loafle/openapi-generator-original
Add enum name mapping to Java generators (#17018)
* add enum name mapping to java generators * update doc * update description
This commit is contained in:
@@ -1861,6 +1861,8 @@ components:
|
||||
- placed
|
||||
- approved
|
||||
- delivered
|
||||
- s
|
||||
- S
|
||||
nullable: true
|
||||
type: string
|
||||
OuterEnumInteger:
|
||||
|
||||
@@ -11,5 +11,9 @@
|
||||
|
||||
* `DELIVERED` (value: `"delivered"`)
|
||||
|
||||
* `LOWER_CASE_S` (value: `"s"`)
|
||||
|
||||
* `UPPER_CASE_S` (value: `"S"`)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -33,7 +33,11 @@ public enum OuterEnum {
|
||||
|
||||
APPROVED("approved"),
|
||||
|
||||
DELIVERED("delivered");
|
||||
DELIVERED("delivered"),
|
||||
|
||||
LOWER_CASE_S("s"),
|
||||
|
||||
UPPER_CASE_S("S");
|
||||
|
||||
private String value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user