Add enum name mapping to Java generators (#17018)

* add enum name mapping to java generators

* update doc

* update description
This commit is contained in:
William Cheng
2023-11-13 10:53:50 +08:00
committed by GitHub
parent 7e529926a6
commit ec3c484ce9
17 changed files with 163 additions and 2 deletions

View File

@@ -1861,6 +1861,8 @@ components:
- placed
- approved
- delivered
- s
- S
nullable: true
type: string
OuterEnumInteger:

View File

@@ -11,5 +11,9 @@
* `DELIVERED` (value: `"delivered"`)
* `LOWER_CASE_S` (value: `"s"`)
* `UPPER_CASE_S` (value: `"S"`)

View File

@@ -33,7 +33,11 @@ public enum OuterEnum {
APPROVED("approved"),
DELIVERED("delivered");
DELIVERED("delivered"),
LOWER_CASE_S("s"),
UPPER_CASE_S("S");
private String value;