summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/org
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/org
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/org')
-rw-r--r--routers/api/v1/org/hook.go2
-rw-r--r--routers/api/v1/org/label.go2
-rw-r--r--routers/api/v1/org/member.go4
-rw-r--r--routers/api/v1/org/org.go6
-rw-r--r--routers/api/v1/org/team.go10
5 files changed, 12 insertions, 12 deletions
diff --git a/routers/api/v1/org/hook.go b/routers/api/v1/org/hook.go
index 2fd084a13a..cce959bb49 100644
--- a/routers/api/v1/org/hook.go
+++ b/routers/api/v1/org/hook.go
@@ -33,7 +33,7 @@ func ListHooks(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":
diff --git a/routers/api/v1/org/label.go b/routers/api/v1/org/label.go
index c5fb262a30..b4a8a5ac33 100644
--- a/routers/api/v1/org/label.go
+++ b/routers/api/v1/org/label.go
@@ -36,7 +36,7 @@ func ListLabels(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":
diff --git a/routers/api/v1/org/member.go b/routers/api/v1/org/member.go
index e452683da1..285a401d2d 100644
--- a/routers/api/v1/org/member.go
+++ b/routers/api/v1/org/member.go
@@ -56,7 +56,7 @@ func ListMembers(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":
@@ -91,7 +91,7 @@ func ListPublicMembers(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
// produces:
// - application/json
diff --git a/routers/api/v1/org/org.go b/routers/api/v1/org/org.go
index b79761c875..220a7dc265 100644
--- a/routers/api/v1/org/org.go
+++ b/routers/api/v1/org/org.go
@@ -46,7 +46,7 @@ func ListMyOrgs(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":
@@ -74,7 +74,7 @@ func ListUserOrgs(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":
@@ -101,7 +101,7 @@ func GetAll(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":
diff --git a/routers/api/v1/org/team.go b/routers/api/v1/org/team.go
index 7b44a47870..9ca40a7796 100644
--- a/routers/api/v1/org/team.go
+++ b/routers/api/v1/org/team.go
@@ -37,7 +37,7 @@ func ListTeams(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":
@@ -77,7 +77,7 @@ func ListUserTeams(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":
@@ -310,7 +310,7 @@ func GetTeamMembers(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":
@@ -472,7 +472,7 @@ func GetTeamRepos(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":
@@ -635,7 +635,7 @@ func SearchTeam(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":