diff --git a/docs/spec/api.md b/docs/spec/api.md index 2f8e7a899..74ac8e24f 100644 --- a/docs/spec/api.md +++ b/docs/spec/api.md @@ -244,7 +244,7 @@ enforce this. The rules for a repository name are as follows: must match the regular expression `[a-z0-9]+(?:[._-][a-z0-9]+)*`. 2. If a repository name has two or more path components, they must be separated by a forward slash ("/"). -3. The total length of a repository name, including slashes, must be less the +3. The total length of a repository name, including slashes, must be less than 256 characters. These name requirements _only_ apply to the registry API and should accept a diff --git a/docs/spec/api.md.tmpl b/docs/spec/api.md.tmpl index e13d1513b..406eda5be 100644 --- a/docs/spec/api.md.tmpl +++ b/docs/spec/api.md.tmpl @@ -244,7 +244,7 @@ enforce this. The rules for a repository name are as follows: must match the regular expression `[a-z0-9]+(?:[._-][a-z0-9]+)*`. 2. If a repository name has two or more path components, they must be separated by a forward slash ("/"). -3. The total length of a repository name, including slashes, must be less the +3. The total length of a repository name, including slashes, must be less than 256 characters. These name requirements _only_ apply to the registry API and should accept a