浏览代码

Set item-type for ExecIDs

Arrays expect a type to be set for items in the array.

This patch adds the "string" type, adds a short description,
and some example values.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 7 年之前
父节点
当前提交
8b6b559866
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      api/swagger.yaml

+ 7 - 0
api/swagger.yaml

@@ -4663,7 +4663,11 @@ paths:
               AppArmorProfile:
                 type: "string"
               ExecIDs:
+                description: "IDs of exec instances that are running in the container."
                 type: "array"
+                items:
+                  type: "string"
+                x-nullable: true
               HostConfig:
                 $ref: "#/definitions/HostConfig"
               GraphDriver:
@@ -4720,6 +4724,9 @@ paths:
                 StopTimeout: 10
               Created: "2015-01-06T15:47:31.485331387Z"
               Driver: "devicemapper"
+              ExecIDs:
+                - "b35395de42bc8abd327f9dd65d913b9ba28c74d2f0734eeeae84fa1c616a0fca"
+                - "3fc1232e5cd20c8de182ed81178503dc6437f4e7ef12b52cc5e8de020652f1c4"
               HostConfig:
                 MaximumIOps: 0
                 MaximumIOBps: 0