diff --git a/api/swagger.yaml b/api/swagger.yaml index 86374415fd..0e7e69977e 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -5922,7 +5922,7 @@ paths: headers: X-Docker-Container-Path-Stat: type: "string" - description: "TODO" + description: "A base64 - encoded JSON object with some filesystem header information about the path" 400: description: "Bad parameter" schema: @@ -7589,6 +7589,7 @@ paths: schema: type: "object" title: "VolumeListResponse" + description: "Volume list response" required: [Volumes, Warnings] properties: Volumes: @@ -7665,6 +7666,8 @@ paths: description: "Volume configuration" schema: type: "object" + description: "Volume configuration" + title: "VolumeConfig" properties: Name: description: "The new volume's name. If not specified, Docker generates a name." diff --git a/api/types/volume/volume_create.go b/api/types/volume/volume_create.go index 539e9b97d9..f12e48612c 100644 --- a/api/types/volume/volume_create.go +++ b/api/types/volume/volume_create.go @@ -7,7 +7,7 @@ package volume // See hack/generate-swagger-api.sh // ---------------------------------------------------------------------------- -// VolumeCreateBody +// VolumeCreateBody Volume configuration // swagger:model VolumeCreateBody type VolumeCreateBody struct { diff --git a/api/types/volume/volume_list.go b/api/types/volume/volume_list.go index 1bb279dbb3..020198f737 100644 --- a/api/types/volume/volume_list.go +++ b/api/types/volume/volume_list.go @@ -9,7 +9,7 @@ package volume import "github.com/docker/docker/api/types" -// VolumeListOKBody +// VolumeListOKBody Volume list response // swagger:model VolumeListOKBody type VolumeListOKBody struct {