Browse Source

Merge pull request #35946 from joelwurtz/patch-2

Fix Volumes property definition in ContainerConfig
Sebastiaan van Stijn 7 years ago
parent
commit
40a9d5d24c
1 changed files with 5 additions and 6 deletions
  1. 5 6
      api/swagger.yaml

+ 5 - 6
api/swagger.yaml

@@ -842,12 +842,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"