Correct grammar in APIEmpty documentation (#1748)

* Correct grammar in APIEmpty doc

* Generate swagger.v1.json
tokarchuk/v1.17
Jonas Östanbäck 8 years ago committed by Lunny Xiao
parent c4b5b121a5
commit 5db5e16ab6
  1. 2
      modules/context/api.go
  2. 2
      public/swagger.v1.json

@ -37,7 +37,7 @@ type APIValidationError struct {
URL string `json:"url"` URL string `json:"url"`
} }
//APIEmpty is a empty response //APIEmpty is an empty response
// swagger:response empty // swagger:response empty
type APIEmpty struct{} type APIEmpty struct{}

@ -1269,7 +1269,7 @@
} }
}, },
"empty": { "empty": {
"description": "APIEmpty is a empty response" "description": "APIEmpty is an empty response"
}, },
"error": { "error": {
"description": "APIError is error format response", "description": "APIError is error format response",

Loading…
Cancel
Save