mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #39075 from giovanism/39067-swagger
Update container name pattern in swagger.yaml
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user