Groovy.model.mustache Maven / Gradle / Ivy
package {{package}};
import groovy.transform.Canonical
{{#imports}}
import {{import}};
{{/imports}}
{{#models}}
{{#model}}
@Canonical
class {{classname}} {
{{#vars}}
{{#description}}/* {{{description}}} */{{/description}}
{{{dataType}}} {{name}}{{#defaultValue}} = {{{defaultValue}}}{{/defaultValue}}
{{/vars}}
}
{{/model}}
{{/models}}