endgen/endpoints-templates/Protocol.ftl

11 lines
220 B
Text
Raw Normal View History

2025-04-09 20:00:23 +02:00
package ${config.package}
2025-04-01 20:38:42 +02:00
object Protocol:
2025-04-09 20:00:23 +02:00
<#list typeDefinitions?sort as type>
2025-04-01 20:38:42 +02:00
case class ${type.name?cap_first}(
<#list type.fields as field>
${field.name} : ${field.type},
</#list>
)
</#list>