swagger: clarify the meaning of Image field in ContainerInspect endpoint

"Container's image" term is rather ambiguous: it can be both a name and an ID.

Looking at the sources[1], it's actually an image ID, so bring some clarity.

[1]: a6a47d1a49/daemon/inspect.go (L170)

Signed-off-by: Nikolay Edigaryev <edigaryev@gmail.com>
This commit is contained in:
Nikolay Edigaryev 2020-04-08 14:12:59 +03:00
parent a6a47d1a49
commit c44fb42377

View file

@ -5086,7 +5086,7 @@ paths:
x-nullable: true
$ref: "#/definitions/ContainerState"
Image:
description: "The container's image"
description: "The container's image ID"
type: "string"
ResolvConfPath:
type: "string"