summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/repo/release.go
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-06-09 06:57:38 +0200
committerGitHub <noreply@github.com>2020-06-09 00:57:38 -0400
commit27a6e039063c394a1bddeb8897dec2e3742dd13e (patch)
tree2f43edfc885f5504419d1b599ea42eb021e1ba99 /routers/api/v1/repo/release.go
parentcefbf73aea912c510a8dd194532233076b822d37 (diff)
downloadgitea-27a6e039063c394a1bddeb8897dec2e3742dd13e.tar.gz
gitea-27a6e039063c394a1bddeb8897dec2e3742dd13e.zip
Remove page size limit comment from swagger (#11806)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'routers/api/v1/repo/release.go')
-rw-r--r--routers/api/v1/repo/release.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/repo/release.go b/routers/api/v1/repo/release.go
index 5a04fbeec2..ade82f24cb 100644
--- a/routers/api/v1/repo/release.go
+++ b/routers/api/v1/repo/release.go
@@ -79,7 +79,7 @@ func ListReleases(ctx *context.APIContext) {
// required: true
// - name: per_page
// in: query
- // description: items count every page wants to load
+ // description: page size of results, deprecated - use limit
// type: integer
// deprecated: true
// - name: page
@@ -88,7 +88,7 @@ func ListReleases(ctx *context.APIContext) {
// type: integer
// - name: limit
// in: query
- // description: page size of results, maximum page size is 50
+ // description: page size of results
// type: integer
// responses:
// "200":