diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-04-28 14:57:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 09:57:56 -0500 |
commit | 92dfbada3793fc2be23d38783d6842eac9825f58 (patch) | |
tree | 5cfc60cde1d257caf1c97b6db5591f96be175386 /routers/api/v1/repo | |
parent | 06e4687cecaed41500b653e5b8685f48b8b18310 (diff) | |
download | gitea-92dfbada3793fc2be23d38783d6842eac9825f58.tar.gz gitea-92dfbada3793fc2be23d38783d6842eac9825f58.zip |
Better describe what `/repos/{owner}/{repo}/raw/{filepath}` returns on 200 (#19542)
- Set on the description that it returns the raw file content.
- Resolves #19514
Diffstat (limited to 'routers/api/v1/repo')
-rw-r--r-- | routers/api/v1/repo/file.go | 2 |
1 files changed, 1 insertions, 1 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" |