File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,33 +7,23 @@ package volume
77// See hack/swagger-gen.sh
88// ----------------------------------------------------------------------------
99
10- /*VolumesCreateBody volumes create body
11-
12- swagger:model VolumesCreateBody
13- */
10+ // VolumesCreateBody volumes create body
11+ // swagger:model VolumesCreateBody
1412type VolumesCreateBody struct {
1513
16- /* Name of the volume driver to use.
17-
18- Required: true
19- */
14+ // Name of the volume driver to use.
15+ // Required: true
2016 Driver string `json:"Driver"`
2117
22- /* A mapping of driver options and values. These options are passed directly to the driver and are driver specific.
23-
24- Required: true
25- */
18+ // A mapping of driver options and values. These options are passed directly to the driver and are driver specific.
19+ // Required: true
2620 DriverOpts map [string ]string `json:"DriverOpts"`
2721
28- /* A mapping of arbitrary key/value data to set on the volume.
29-
30- Required: true
31- */
22+ // A mapping of arbitrary key/value data to set on the volume.
23+ // Required: true
3224 Labels map [string ]string `json:"Labels"`
3325
34- /* The new volume's name. If not specified, Docker generates a name.
35-
36- Required: true
37- */
26+ // The new volume's name. If not specified, Docker generates a name.
27+ // Required: true
3828 Name string `json:"Name"`
3929}
Original file line number Diff line number Diff line change @@ -9,21 +9,15 @@ package volume
99
1010import "github.com/docker/docker/api/types"
1111
12- /*VolumesListOKBody volumes list o k body
13-
14- swagger:model VolumesListOKBody
15- */
12+ // VolumesListOKBody volumes list o k body
13+ // swagger:model VolumesListOKBody
1614type VolumesListOKBody struct {
1715
18- /* List of volumes
19-
20- Required: true
21- */
16+ // List of volumes
17+ // Required: true
2218 Volumes []* types.Volume `json:"Volumes"`
2319
24- /* Warnings that occurred when fetching the list of volumes
25-
26- Required: true
27- */
20+ // Warnings that occurred when fetching the list of volumes
21+ // Required: true
2822 Warnings []string `json:"Warnings"`
2923}
Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ import (
2020
2121
2222{{ range .ExtraSchemas }}
23- /* {{ .Name }} {{ template "docstring" . }}
24- swagger:model {{ .Name }}
25- */
23+ // {{ .Name }} {{ template " docstring" . }}
24+ // swagger:model {{ .Name }}
2625{{ template " schema" . }}
2726{{ end }}
Original file line number Diff line number Diff line change @@ -3,15 +3,11 @@ package types
33// This file was generated by the swagger tool.
44// Editing this file might prove futile when you re-run the swagger generate command
55
6- /*ErrorResponse Represents an error.
7-
8- swagger:model ErrorResponse
9- */
6+ // ErrorResponse Represents an error.
7+ // swagger:model ErrorResponse
108type ErrorResponse struct {
119
12- /* The error message.
13-
14- Required: true
15- */
10+ // The error message.
11+ // Required: true
1612 Message string `json:"message"`
1713}
You can’t perform that action at this time.
0 commit comments