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 // required: false
// responses: // responses:
// 200: // 200:
// description: success // description: Returns raw file content.
// "404": // "404":
// "$ref": "#/responses/notFound" // "$ref": "#/responses/notFound"

View File

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