mirror of
https://github.com/distribution/distribution
synced 2024-11-06 19:35:52 +01:00
Fixes error codes in the API spec template
Uses UPPER_UNDERSCORE_CASE instead of the nice error message format added in #911 Signed-off-by: Brian Bland <brian.bland@docker.com>
This commit is contained in:
parent
39ff320b82
commit
ac03070245
@ -1149,7 +1149,7 @@ The error codes that may be included in the response body are enumerated below:
|
||||
|
||||
|Code|Message|Description|
|
||||
|----|-------|-----------|
|
||||
{{range $err := .ErrorCodes}}| `{{$err}}` | {{$err.Descriptor.Message}} | {{$err.Descriptor.Description|removenewlines}} |
|
||||
{{range $err := .ErrorCodes}}| `{{$err.Descriptor.Value}}` | {{$err.Descriptor.Message}} | {{$err.Descriptor.Description|removenewlines}} |
|
||||
{{end}}
|
||||
|
||||
{{end}}{{end}}{{end}}{{end}}{{end}}{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user