Browse Source

Merge pull request #38354 from thaJeztah/fix_ipam_swagger

Swagger: fix definition of IPAM driver options
Tibor Vass 6 năm trước cách đây
mục cha
commit
b4842cfe88
1 tập tin đã thay đổi với 3 bổ sung5 xóa
  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"