github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/api/swagger-gen.yaml (about)

     1  
     2  layout:
     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"