Merge pull request #1345 from BrianBland/fixErrorCodesInAPITemplate

Fixes error codes in the API spec template
This commit is contained in:
Richard Scothern 2016-01-13 14:55:59 -08:00
commit 4378e1aa85

View File

@ -1149,7 +1149,7 @@ The error codes that may be included in the response body are enumerated below:
|Code|Message|Description| |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}}{{end}} {{end}}{{end}}{{end}}{{end}}{{end}}{{end}}