github.com/rumpl/bof@v23.0.0-rc.2+incompatible/api/templates/server/operation.gotmpl (about) 1 package {{ .Package }} // import "github.com/docker/docker/api/types/{{ .Package }}" 2 3 // ---------------------------------------------------------------------------- 4 // Code generated by `swagger generate operation`. DO NOT EDIT. 5 // 6 // See hack/generate-swagger-api.sh 7 // ---------------------------------------------------------------------------- 8 9 import ( 10 "context" 11 "net/http" 12 {{ range .DefaultImports }}{{ printf "%q" . }} 13 {{ end }} 14 {{ range $key, $value := .Imports }}{{ $key }} {{ printf "%q" $value }} 15 {{ end }} 16 ) 17 18 19 {{ range .ExtraSchemas }} 20 // {{ .Name }} {{ comment .Description }} 21 // swagger:model {{ .Name }} 22 {{ template "schema" . }} 23 {{ end }}