aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routers/api/v1/repo/file.go2
-rw-r--r--templates/swagger/v1_json.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go
index ed51f6f4df..d907e770ae 100644
--- a/routers/api/v1/repo/file.go
+++ b/routers/api/v1/repo/file.go
@@ -53,7 +53,7 @@ func GetRawFile(ctx *context.APIContext) {
// required: false
// responses:
// 200:
- // description: success
+ // description: Returns raw file content.
// "404":
// "$ref": "#/responses/notFound"
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 0374a53a65..ea03380d43 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -8628,7 +8628,7 @@
],
"responses": {
"200": {
- "description": "success"
+ "description": "Returns raw file content."
},
"404": {
"$ref": "#/responses/notFound"