forked from loafle/openapi-generator-original
Merge pull request #3179 from areiter/dart-missing-dartson-property
Dart - Java compatibility
This commit is contained in:
@@ -4,6 +4,7 @@ part of api;
|
||||
@Entity()
|
||||
class {{classname}} {
|
||||
{{#vars}}{{#description}}/* {{{description}}} */{{/description}}
|
||||
@Property(name: '{{baseName}}')
|
||||
{{{datatype}}} {{name}} = {{{defaultValue}}};
|
||||
{{#allowableValues}}{{#min}} // range from {{min}} to {{max}}{{/min}}//{{^min}}enum {{name}}Enum { {{#values}} {{.}}, {{/values}} };{{/min}}{{/allowableValues}}
|
||||
{{/vars}}
|
||||
|
||||
Reference in New Issue
Block a user