Skip to content

Commit

Permalink
Correct grammar in APIEmpty documentation (#1748)
Browse files Browse the repository at this point in the history
* Correct grammar in APIEmpty doc

* Generate swagger.v1.json
  • Loading branch information
cez81 authored and lunny committed May 18, 2017
1 parent c4b5b12 commit 5db5e16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/context/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type APIValidationError struct {
URL string `json:"url"`
}

//APIEmpty is a empty response
//APIEmpty is an empty response
// swagger:response empty
type APIEmpty struct{}

Expand Down
2 changes: 1 addition & 1 deletion public/swagger.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@
}
},
"empty": {
"description": "APIEmpty is a empty response"
"description": "APIEmpty is an empty response"
},
"error": {
"description": "APIError is error format response",
Expand Down

0 comments on commit 5db5e16

Please sign in to comment.