29df3bdb11
Moves the resposne types to a package under api/types Signed-off-by: Daniel Nephin <dnephin@docker.com>
12 lines
371 B
YAML
12 lines
371 B
YAML
|
|
layout:
|
|
models:
|
|
- name: definition
|
|
source: asset:model
|
|
target: "{{ joinFilePath .Target .ModelPackage }}"
|
|
file_name: "{{ (snakize (pascalize .Name)) }}.go"
|
|
operations:
|
|
- name: handler
|
|
source: asset:serverOperation
|
|
target: "{{ joinFilePath .Target .APIPackage .Package }}"
|
|
file_name: "{{ (snakize (pascalize .Name)) }}.go"
|