Browse Source

Change multi-type parameters to single type

Signed-off-by: Asad Saeeduddin <masaeedu@gmail.com>
Asad Saeeduddin 7 years ago
parent
commit
c6d32bebe5
1 changed files with 2 additions and 6 deletions
  1. 2 6
      api/swagger.yaml

+ 2 - 6
api/swagger.yaml

@@ -836,9 +836,7 @@ definitions:
           type: "string"
       Cmd:
         description: "Command to run specified as a string or an array of strings."
-        type:
-          - "array"
-          - "string"
+        type: "array"
         items:
           type: "string"
       Healthcheck:
@@ -866,9 +864,7 @@ definitions:
           The entry point for the container as a string or an array of strings.
 
           If the array consists of exactly one empty string (`[""]`) then the entry point is reset to system default (i.e., the entry point used by docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`).
-        type:
-          - "array"
-          - "string"
+        type: "array"
         items:
           type: "string"
       NetworkDisabled: