1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

update swagger for release API pagination (#5841)

This commit is contained in:
Lunny Xiao
2019-01-25 15:10:50 +08:00
committed by Lauris BH
parent 892bfd0b19
commit 6b0c2e9e35
2 changed files with 20 additions and 0 deletions

View File

@@ -88,6 +88,14 @@ func ListReleases(ctx *context.APIContext) {
// description: name of the repo
// type: string
// required: true
// - name: page
// in: query
// description: page wants to load
// type: integer
// - name: per_page
// in: query
// description: items count every page wants to load
// type: integer
// responses:
// "200":
// "$ref": "#/responses/ReleaseList"