mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 14:43:52 +03: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
|
// required: false
|
||||||
// responses:
|
// responses:
|
||||||
// 200:
|
// 200:
|
||||||
// description: success
|
// description: Returns raw file content.
|
||||||
// "404":
|
// "404":
|
||||||
// "$ref": "#/responses/notFound"
|
// "$ref": "#/responses/notFound"
|
||||||
|
|
||||||
|
|
|
@ -8628,7 +8628,7 @@
|
||||||
],
|
],
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
"description": "success"
|
"description": "Returns raw file content."
|
||||||
},
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"$ref": "#/responses/notFound"
|
"$ref": "#/responses/notFound"
|
||||||
|
|
Loading…
Reference in a new issue