scala-akka-http-server.model.mustache Maven / Gradle / Ivy
package {{package}}
{{#imports}}
import {{import}}
{{/imports}}
{{#models}}
{{#model}}
/**
{{#title}} * = {{{title}}} =
*
{{/title}}
{{#description}} * {{{description}}}
*
{{/description}}
{{#vars}}
* @param {{{name}}} {{#description}}{{{description}}}{{/description}}{{#example}} for example: ''{{{example}}}''{{/example}}
{{/vars}}
*/
final case class {{classname}} (
{{#vars}}
{{{name}}}: {{^required}}Option[{{/required}}{{datatype}}{{^required}}]{{/required}}{{^-last}},{{/-last}}
{{/vars}}
)
{{/model}}
{{/models}}