From 65e68f6222f003b06c404f41c021de782f6b5568 Mon Sep 17 00:00:00 2001 From: giovanism Date: Mon, 15 Apr 2019 12:43:32 +0700 Subject: [PATCH] Update container name pattern in swagger.yaml Signed-off-by: giovanism --- api/swagger.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/swagger.yaml b/api/swagger.yaml index 1f770c0483..76d21509ac 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -4611,9 +4611,9 @@ paths: parameters: - name: "name" in: "query" - description: "Assign the specified name to the container. Must match `/?[a-zA-Z0-9_-]+`." + description: "Assign the specified name to the container. Must match `/?[a-zA-Z0-9][a-zA-Z0-9_.-]+`." type: "string" - pattern: "/?[a-zA-Z0-9_-]+" + pattern: "^/?[a-zA-Z0-9][a-zA-Z0-9_.-]+$" - name: "body" in: "body" description: "Container to create"