@ -42,7 +42,7 @@ func GetRawFile(ctx *context.APIContext) {
// ---
// ---
// summary: Get a file from a repository
// summary: Get a file from a repository
// produces:
// produces:
// - application/ json
// - application/ octet-stream
// parameters:
// parameters:
// - name: owner
// - name: owner
// in: path
// in: path
@ -67,6 +67,8 @@ func GetRawFile(ctx *context.APIContext) {
// responses:
// responses:
// 200:
// 200:
// description: Returns raw file content.
// description: Returns raw file content.
// schema:
// type: file
// "404":
// "404":
// "$ref": "#/responses/notFound"
// "$ref": "#/responses/notFound"
@ -92,6 +94,8 @@ func GetRawFileOrLFS(ctx *context.APIContext) {
// swagger:operation GET /repos/{owner}/{repo}/media/{filepath} repository repoGetRawFileOrLFS
// swagger:operation GET /repos/{owner}/{repo}/media/{filepath} repository repoGetRawFileOrLFS
// ---
// ---
// summary: Get a file or it's LFS object from a repository
// summary: Get a file or it's LFS object from a repository
// produces:
// - application/octet-stream
// parameters:
// parameters:
// - name: owner
// - name: owner
// in: path
// in: path
@ -116,6 +120,8 @@ func GetRawFileOrLFS(ctx *context.APIContext) {
// responses:
// responses:
// 200:
// 200:
// description: Returns raw file content.
// description: Returns raw file content.
// schema:
// type: file
// "404":
// "404":
// "$ref": "#/responses/notFound"
// "$ref": "#/responses/notFound"