mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 06:00:52 +00:00
issues/91 - enum in model commented out by default
This commit is contained in:
parent
3a8928f869
commit
830ad87fcb
@ -12,7 +12,7 @@ public class {{classname}} {
|
||||
private {{{datatype}}} {{name}} = {{{defaultValue}}};
|
||||
{{#allowableValues}}{{#min}} // range from {{min}} to {{max}}
|
||||
{{/min}}
|
||||
{{^min}}public enum {{name}}Enum { {{#values}} {{.}}, {{/values}} };
|
||||
//{{^min}}public enum {{name}}Enum { {{#values}} {{.}}, {{/values}} };
|
||||
{{/min}}
|
||||
{{/allowableValues}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user