浏览代码

Merge pull request #38354 from thaJeztah/fix_ipam_swagger

Swagger: fix definition of IPAM driver options
Tibor Vass 6 年之前
父节点
当前提交
b4842cfe88
共有 1 个文件被更改,包括 3 次插入5 次删除
  1. 3 5
      api/swagger.yaml

+ 3 - 5
api/swagger.yaml

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