operation.gotmpl 653 B

1234567891011121314151617181920212223242526
  1. package {{ .Package }}
  2. // ----------------------------------------------------------------------------
  3. // DO NOT EDIT THIS FILE
  4. // This file was generated by `swagger generate operation`
  5. //
  6. // See hack/generate-swagger-api.sh
  7. // ----------------------------------------------------------------------------
  8. import (
  9. "net/http"
  10. context "golang.org/x/net/context"
  11. {{ range .DefaultImports }}{{ printf "%q" . }}
  12. {{ end }}
  13. {{ range $key, $value := .Imports }}{{ $key }} {{ printf "%q" $value }}
  14. {{ end }}
  15. )
  16. {{ range .ExtraSchemas }}
  17. // {{ .Name }} {{ template "docstring" . }}
  18. // swagger:model {{ .Name }}
  19. {{ template "schema" . }}
  20. {{ end }}