mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update container name pattern in swagger.yaml
Signed-off-by: giovanism <giovanism@outlook.co.id>
This commit is contained in:
parent
9b2eaa8a5d
commit
65e68f6222
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue