1
2layout:
3  models:
4    - name: definition
5      source: asset:model
6      target: "{{ joinFilePath .Target .ModelPackage }}"
7      file_name: "{{ (snakize (pascalize .Name)) }}.go"
8  operations:
9    - name: handler
10      source: asset:serverOperation
11      target: "{{ joinFilePath .Target .APIPackage .Package }}"
12      file_name: "{{ (snakize (pascalize .Name)) }}.go"
13