summaryrefslogtreecommitdiffstats
path: root/routers/api
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-09-06 18:23:47 +0200
committerGitHub <noreply@github.com>2020-09-06 12:23:47 -0400
commit3408fb73b67a4ef4687fa95098bc476f486fe220 (patch)
tree38b3ceb77b537fd399bb08f3ed871a550c611732 /routers/api
parent43c303d35c74562bf2eaf221d46f7ef1539179a6 (diff)
downloadgitea-3408fb73b67a4ef4687fa95098bc476f486fe220.tar.gz
gitea-3408fb73b67a4ef4687fa95098bc476f486fe220.zip
Add better Swagger description and a example for GetArchive (#12743)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'routers/api')
-rw-r--r--routers/api/v1/repo/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go
index a43fdb074e..bc85fec630 100644
--- a/routers/api/v1/repo/file.go
+++ b/routers/api/v1/repo/file.go
@@ -87,7 +87,7 @@ func GetArchive(ctx *context.APIContext) {
// required: true
// - name: archive
// in: path
- // description: archive to download, consisting of a git reference and archive
+ // description: the git reference for download with attached archive format (e.g. master.zip)
// type: string
// required: true
// responses: