From 6b0c2e9e35e716173ef89979c1590e40d431fe57 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 25 Jan 2019 15:10:50 +0800 Subject: update swagger for release API pagination (#5841) --- routers/api/v1/repo/release.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'routers/api/v1/repo') diff --git a/routers/api/v1/repo/release.go b/routers/api/v1/repo/release.go index 84cb871b76..3c51e452f2 100644 --- a/routers/api/v1/repo/release.go +++ b/routers/api/v1/repo/release.go @@ -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" -- cgit v1.2.3