1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-07 09:15:53 +01:00

Add better Swagger description and a example for GetArchive (#12743)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
6543 2020-09-06 18:23:47 +02:00 committed by GitHub
parent 43c303d35c
commit 3408fb73b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -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:

@ -2075,7 +2075,7 @@
},
{
"type": "string",
"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)",
"name": "archive",
"in": "path",
"required": true