Parcourir la source

Merge pull request #133 from thaJeztah/18.09_backport_fix_ipam_swagger

[18.09 backport] Swagger: fix definition of IPAM driver options
Andrew Hsu il y a 6 ans
Parent
commit
1ffccb515a
1 fichiers modifiés avec 3 ajouts et 5 suppressions
  1. 3 5
      api/swagger.yaml

+ 3 - 5
api/swagger.yaml

@@ -1473,11 +1473,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"