k3s/vendor/github.com/storageos/go-api/swagger-gen.yaml

13 lines
371 B
YAML
Raw Normal View History

2017-02-24 15:47:40 +00:00
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"