diff options
author | Jonas Östanbäck <cez81@users.noreply.github.com> | 2017-05-18 16:39:42 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-05-18 22:39:42 +0800 |
commit | 5db5e16ab61f25f21cb17ee4895679b9830641a5 (patch) | |
tree | b0477b54e69871d9bf2717f808a307e4c463a572 | |
parent | c4b5b121a56310c53b2ece53d09837cbe67b7eff (diff) | |
download | gitea-5db5e16ab61f25f21cb17ee4895679b9830641a5.tar.gz gitea-5db5e16ab61f25f21cb17ee4895679b9830641a5.zip |
Correct grammar in APIEmpty documentation (#1748)
* Correct grammar in APIEmpty doc
* Generate swagger.v1.json
-rw-r--r-- | modules/context/api.go | 2 | ||||
-rw-r--r-- | public/swagger.v1.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/context/api.go b/modules/context/api.go index 2068285c7a..7264214f37 100644 --- a/modules/context/api.go +++ b/modules/context/api.go @@ -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{} diff --git a/public/swagger.v1.json b/public/swagger.v1.json index 6f8f30fcfe..264ae52be6 100644 --- a/public/swagger.v1.json +++ b/public/swagger.v1.json @@ -1269,7 +1269,7 @@ } }, "empty": { - "description": "APIEmpty is a empty response" + "description": "APIEmpty is an empty response" }, "error": { "description": "APIError is error format response", |