forked from TrueCloudLab/distribution
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue