mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-21 19:17:07 +00:00
add hack to make enums nullable
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
public enum {{datatypeWithEnum}} {
|
||||
public enum {{vendorExtensions.plainDatatypeWithEnum}} {
|
||||
{{#allowableValues}}{{#enumVars}}
|
||||
[EnumMember(Value = "{{jsonname}}")]
|
||||
{{name}}{{^-last}},
|
||||
|
||||
Reference in New Issue
Block a user