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

Remove page size limit comment from swagger (#11806)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
Cirno the Strongest
2020-06-09 06:57:38 +02:00
committed by GitHub
parent cefbf73aea
commit 27a6e03906
40 changed files with 120 additions and 120 deletions

View File

@@ -40,7 +40,7 @@ func ListCollaborators(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":

View File

@@ -109,7 +109,7 @@ func GetAllCommits(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":

View File

@@ -40,7 +40,7 @@ func ListForks(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":

View File

@@ -41,7 +41,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":

View File

@@ -220,7 +220,7 @@ func ListIssues(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":

View File

@@ -124,7 +124,7 @@ func ListRepoIssueComments(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":

View File

@@ -252,7 +252,7 @@ func GetIssueReactions(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":

View File

@@ -208,7 +208,7 @@ func GetStopwatches(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
// consumes:
// - application/json

View File

@@ -241,7 +241,7 @@ func GetIssueSubscribers(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":

View File

@@ -57,7 +57,7 @@ func ListTrackedTimes(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":
@@ -458,7 +458,7 @@ func ListTrackedTimesByRepository(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":
@@ -528,7 +528,7 @@ func ListMyTrackedTimes(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

View File

@@ -68,7 +68,7 @@ func ListDeployKeys(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":

View File

@@ -42,7 +42,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":

View File

@@ -45,7 +45,7 @@ func ListMilestones(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":

View File

@@ -71,7 +71,7 @@ func ListPullRequests(ctx *context.APIContext, form api.ListPullRequestsOptions)
// 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":

View File

@@ -48,7 +48,7 @@ func ListPullReviews(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":

View File

@@ -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":

View File

@@ -116,7 +116,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":

View File

@@ -37,7 +37,7 @@ func ListStargazers(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":

View File

@@ -108,7 +108,7 @@ func GetCommitStatuses(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":
@@ -160,7 +160,7 @@ func GetCommitStatusesByRef(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":

View File

@@ -37,7 +37,7 @@ func ListSubscribers(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":

View File

@@ -40,7 +40,7 @@ func ListTopics(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":
@@ -259,7 +259,7 @@ func TopicSearch(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":

View File

@@ -46,7 +46,7 @@ func GetTree(ctx *context.APIContext) {
// type: integer
// - name: per_page
// in: query
// description: number of items per page; default is 1000 or what is set in app.ini as DEFAULT_GIT_TREES_PER_PAGE
// description: number of items per page
// required: false
// type: integer
// responses: