From 52f9a6e75eb366f2bae145ae479cc7114fad803c Mon Sep 17 00:00:00 2001 From: Asad Saeeduddin Date: Mon, 9 Oct 2017 20:22:44 -0400 Subject: [PATCH] Change multi-type parameters to single type Signed-off-by: Asad Saeeduddin Upstream-commit: c6d32bebe5b6a0919fcb530692092dd5516e5b54 Component: engine --- components/engine/api/swagger.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index c3b9c29244..078517eef6 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/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: