Browse Source

Merge pull request #38354 from thaJeztah/fix_ipam_swagger

Swagger: fix definition of IPAM driver options
Tibor Vass 6 years ago
parent
commit
b4842cfe88
1 changed files with 3 additions and 5 deletions
  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"