Forráskód Böngészése

Fix Volumes property definition in ContainerConfig

Actually the specification was expecting a 'additionalProperties' for the Volumes data, where in fact it's expecting
a map of string pointing to empty object.

Signed-off-by: Joel Wurtz <joel.wurtz@gmail.com>
Joel Wurtz 7 éve
szülő
commit
dc883c0486
1 módosított fájl, 5 hozzáadás és 6 törlés
  1. 5 6
      api/swagger.yaml

+ 5 - 6
api/swagger.yaml

@@ -838,12 +838,11 @@ definitions:
       Volumes:
       Volumes:
         description: "An object mapping mount point paths inside the container to empty objects."
         description: "An object mapping mount point paths inside the container to empty objects."
         type: "object"
         type: "object"
-        properties:
-          additionalProperties:
-            type: "object"
-            enum:
-              - {}
-            default: {}
+        additionalProperties:
+          type: "object"
+          enum:
+            - {}
+          default: {}
       WorkingDir:
       WorkingDir:
         description: "The working directory for commands to run in."
         description: "The working directory for commands to run in."
         type: "string"
         type: "string"