Freemarker templates

This commit is contained in:
Johan Maasing 2025-04-01 20:38:42 +02:00
parent 8057928548
commit d41212c7b2
5 changed files with 72 additions and 20 deletions

View file

@ -0,0 +1,10 @@
package se.senashdev.projekt.api
object Protocol:
<#list typeDefinitions as type>
case class ${type.name?cap_first}(
<#list type.fields as field>
${field.name} : ${field.type},
</#list>
)
</#list>