Skip to content

Commit

Permalink
Remove page size limit comment from swagger (#11806)
Browse files Browse the repository at this point in the history
Co-authored-by: techknowlogick <[email protected]>
  • Loading branch information
CirnoT and techknowlogick authored Jun 9, 2020
1 parent cefbf73 commit 27a6e03
Show file tree
Hide file tree
Showing 40 changed files with 120 additions and 120 deletions.
2 changes: 1 addition & 1 deletion routers/api/v1/admin/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func GetAllOrgs(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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/admin/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func GetAllUsers(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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/notify/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func ListRepoNotifications(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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/notify/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func ListNotifications(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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/org/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/org/label.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
4 changes: 2 additions & 2 deletions routers/api/v1/org/member.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions routers/api/v1/org/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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":
Expand All @@ -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":
Expand Down
10 changes: 5 additions & 5 deletions routers/api/v1/org/team.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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":
Expand Down Expand Up @@ -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":
Expand Down Expand Up @@ -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":
Expand Down Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/collaborators.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/commits.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/fork.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/issue_reaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/issue_stopwatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/issue_subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
6 changes: 3 additions & 3 deletions routers/api/v1/repo/issue_tracked_time.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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":
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/label.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/milestone.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/pull_review.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
4 changes: 2 additions & 2 deletions routers/api/v1/repo/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/star.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
4 changes: 2 additions & 2 deletions routers/api/v1/repo/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
4 changes: 2 additions & 2 deletions routers/api/v1/repo/topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading

0 comments on commit 27a6e03

Please sign in to comment.