diff --git a/docs/spec/api.md b/docs/spec/api.md index c4517c0b4..68028e79f 100644 --- a/docs/spec/api.md +++ b/docs/spec/api.md @@ -248,7 +248,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 eeafec1ea..97dd9f639 100644 --- a/docs/spec/api.md.tmpl +++ b/docs/spec/api.md.tmpl @@ -248,7 +248,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