forked from loafle/openapi-generator-original
[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user