Explorar o código

Merge pull request #38354 from thaJeztah/fix_ipam_swagger

Swagger: fix definition of IPAM driver options
Tibor Vass %!s(int64=6) %!d(string=hai) anos
pai
achega
b4842cfe88
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  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"