0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-16 18:14:00 +01:00

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
This commit is contained in:
Gusted 2022-04-28 14:57:56 +00:00 committed by GitHub
parent 06e4687cec
commit 92dfbada37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ func GetRawFile(ctx *context.APIContext) {
// required: false
// responses:
// 200:
// description: success
// description: Returns raw file content.
// "404":
// "$ref": "#/responses/notFound"

View file

@ -8628,7 +8628,7 @@
],
"responses": {
"200": {
"description": "success"
"description": "Returns raw file content."
},
"404": {
"$ref": "#/responses/notFound"