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:
committed by
GitHub
parent
cefbf73aea
commit
27a6e03906
@@ -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:
|
||||
|
Reference in New Issue
Block a user