diff options
author | Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> | 2020-06-09 06:57:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 00:57:38 -0400 |
commit | 27a6e039063c394a1bddeb8897dec2e3742dd13e (patch) | |
tree | 2f43edfc885f5504419d1b599ea42eb021e1ba99 /routers/api/v1/user | |
parent | cefbf73aea912c510a8dd194532233076b822d37 (diff) | |
download | gitea-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/user')
-rw-r--r-- | routers/api/v1/user/app.go | 4 | ||||
-rw-r--r-- | routers/api/v1/user/follower.go | 8 | ||||
-rw-r--r-- | routers/api/v1/user/gpg_key.go | 4 | ||||
-rw-r--r-- | routers/api/v1/user/key.go | 4 | ||||
-rw-r--r-- | routers/api/v1/user/repo.go | 6 | ||||
-rw-r--r-- | routers/api/v1/user/star.go | 4 | ||||
-rw-r--r-- | routers/api/v1/user/user.go | 2 | ||||
-rw-r--r-- | routers/api/v1/user/watch.go | 4 |
8 files changed, 18 insertions, 18 deletions
diff --git a/routers/api/v1/user/app.go b/routers/api/v1/user/app.go index f426721c82..624beff5bb 100644 --- a/routers/api/v1/user/app.go +++ b/routers/api/v1/user/app.go @@ -35,7 +35,7 @@ func ListAccessTokens(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": @@ -198,7 +198,7 @@ func ListOauth2Applications(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/user/follower.go b/routers/api/v1/user/follower.go index 6e180b37f1..39f3c20927 100644 --- a/routers/api/v1/user/follower.go +++ b/routers/api/v1/user/follower.go @@ -44,7 +44,7 @@ func ListMyFollowers(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 @@ -74,7 +74,7 @@ func ListFollowers(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": @@ -108,7 +108,7 @@ func ListMyFollowing(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 @@ -138,7 +138,7 @@ func ListFollowing(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/user/gpg_key.go b/routers/api/v1/user/gpg_key.go index d5fed96df1..9fbe351c27 100644 --- a/routers/api/v1/user/gpg_key.go +++ b/routers/api/v1/user/gpg_key.go @@ -48,7 +48,7 @@ func ListGPGKeys(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": @@ -73,7 +73,7 @@ func ListMyGPGKeys(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/user/key.go b/routers/api/v1/user/key.go index 58705dd2f1..033b29f420 100644 --- a/routers/api/v1/user/key.go +++ b/routers/api/v1/user/key.go @@ -116,7 +116,7 @@ func ListMyPublicKeys(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 @@ -150,7 +150,7 @@ func ListPublicKeys(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/user/repo.go b/routers/api/v1/user/repo.go index 4024bf96cf..887d606998 100644 --- a/routers/api/v1/user/repo.go +++ b/routers/api/v1/user/repo.go @@ -58,7 +58,7 @@ func ListUserRepos(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": @@ -86,7 +86,7 @@ func ListMyRepos(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": @@ -138,7 +138,7 @@ func ListOrgRepos(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/user/star.go b/routers/api/v1/user/star.go index 0e0875f04e..1fc1005810 100644 --- a/routers/api/v1/user/star.go +++ b/routers/api/v1/user/star.go @@ -52,7 +52,7 @@ func GetStarredRepos(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": @@ -79,7 +79,7 @@ func GetMyStarredRepos(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/user/user.go b/routers/api/v1/user/user.go index c0b0f1170c..aaca53093e 100644 --- a/routers/api/v1/user/user.go +++ b/routers/api/v1/user/user.go @@ -41,7 +41,7 @@ func Search(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/user/watch.go b/routers/api/v1/user/watch.go index 1b55863034..9ad8682f5f 100644 --- a/routers/api/v1/user/watch.go +++ b/routers/api/v1/user/watch.go @@ -51,7 +51,7 @@ func GetWatchedRepos(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": @@ -80,7 +80,7 @@ func GetMyWatchedRepos(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": |