[csharp] Fixed enum values with whitespace (#16316)

* fixed enum values

* build samples

* build samples

* revert samples for easier merge master

* fixed while not changing other generators

* changed logging

* minor change
This commit is contained in:
devhl-labs
2023-08-31 22:11:11 -04:00
committed by GitHub
parent c74ed98282
commit c0abeceb85
124 changed files with 3800 additions and 336 deletions

View File

@@ -1589,6 +1589,19 @@ components:
- -efg
- (xyz)
type: string
Outer_Enum_Test:
enum:
- UPPER
- lower
- ""
- "Value\twith tab"
- Value with " quote
- Value with escaped \" quote
- |-
Duplicate
value
- "Duplicate\r\nvalue"
type: string
Enum_Test:
properties:
enum_string:
@@ -1596,12 +1609,26 @@ components:
- UPPER
- lower
- ""
- "Value\twith tab"
- Value with " quote
- Value with escaped \" quote
- |-
Duplicate
value
- "Duplicate\r\nvalue"
type: string
enum_string_required:
enum:
- UPPER
- lower
- ""
- "Value\twith tab"
- Value with " quote
- Value with escaped \" quote
- |-
Duplicate
value
- "Duplicate\r\nvalue"
type: string
enum_integer:
enum: