Browse code

Update container name pattern in swagger.yaml

Signed-off-by: giovanism <giovanism@outlook.co.id>

giovanism authored on 2019/04/15 14:43:32
Showing 1 changed files
... ...
@@ -4611,9 +4611,9 @@ paths:
4611 4611
       parameters:
4612 4612
         - name: "name"
4613 4613
           in: "query"
4614
-          description: "Assign the specified name to the container. Must match `/?[a-zA-Z0-9_-]+`."
4614
+          description: "Assign the specified name to the container. Must match `/?[a-zA-Z0-9][a-zA-Z0-9_.-]+`."
4615 4615
           type: "string"
4616
-          pattern: "/?[a-zA-Z0-9_-]+"
4616
+          pattern: "^/?[a-zA-Z0-9][a-zA-Z0-9_.-]+$"
4617 4617
         - name: "body"
4618 4618
           in: "body"
4619 4619
           description: "Container to create"