mirror of
https://github.com/go-gitea/gitea
synced 2024-11-14 14:01:34 +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:
parent
06e4687cec
commit
92dfbada37
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ func GetRawFile(ctx *context.APIContext) {
|
|||
// required: false
|
||||
// responses:
|
||||
// 200:
|
||||
// description: success
|
||||
// description: Returns raw file content.
|
||||
// "404":
|
||||
// "$ref": "#/responses/notFound"
|
||||
|
||||
|
|
|
@ -8628,7 +8628,7 @@
|
|||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "success"
|
||||
"description": "Returns raw file content."
|
||||
},
|
||||
"404": {
|
||||
"$ref": "#/responses/notFound"
|
||||
|
|
Loading…
Reference in a new issue