ソースを参照

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"