forked from loafle/openapi-generator-original
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