github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/api/templates/server/operation.gotmpl (about)

     1  package {{ .Package }} // import "github.com/demonoid81/moby/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 }}