mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 20:32:11 +00:00
Remove page size limit comment from swagger (#11806)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
cefbf73aea
commit
27a6e03906
40 changed files with 120 additions and 120 deletions
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue