瀏覽代碼

Swagger: fix definition of IPAM driver options

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 6 年之前
父節點
當前提交
a5dd68186c
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      api/swagger.yaml

+ 3 - 5
api/swagger.yaml

@@ -1484,11 +1484,9 @@ definitions:
             type: "string"
             type: "string"
       Options:
       Options:
         description: "Driver-specific options, specified as a map."
         description: "Driver-specific options, specified as a map."
-        type: "array"
-        items:
-          type: "object"
-          additionalProperties:
-            type: "string"
+        type: "object"
+        additionalProperties:
+          type: "string"
 
 
   NetworkContainer:
   NetworkContainer:
     type: "object"
     type: "object"