github.com/kunnos/engine@v1.13.1/api/templates/server/operation.gotmpl (about) 1 package {{ .Package }} 2 3 // ---------------------------------------------------------------------------- 4 // DO NOT EDIT THIS FILE 5 // This file was generated by `swagger generate operation` 6 // 7 // See hack/swagger-gen.sh 8 // ---------------------------------------------------------------------------- 9 10 import ( 11 "net/http" 12 13 context "golang.org/x/net/context" 14 15 {{ range .DefaultImports }}{{ printf "%q" . }} 16 {{ end }} 17 {{ range $key, $value := .Imports }}{{ $key }} {{ printf "%q" $value }} 18 {{ end }} 19 ) 20 21 22 {{ range .ExtraSchemas }} 23 // {{ .Name }} {{ template "docstring" . }} 24 // swagger:model {{ .Name }} 25 {{ template "schema" . }} 26 {{ end }}