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
@ -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 New Issue
Block a user