aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
authorNanguan Lin <70063547+lng2020@users.noreply.github.com>2023-12-05 15:30:43 +0800
committerGitHub <noreply@github.com>2023-12-05 07:30:43 +0000
commit0aab2d38a7d91bc8caff332e452364468ce52d9a (patch)
tree3181ae25146fb61b2e08f946650b9f858a4a0e0c /templates/swagger/v1_json.tmpl
parent38a93a0665456d0cfc9569946a1f6164835b6aea (diff)
downloadgitea-0aab2d38a7d91bc8caff332e452364468ce52d9a.tar.gz
gitea-0aab2d38a7d91bc8caff332e452364468ce52d9a.zip
Remove deprecated query condition in ListReleases (#28339)
close #24057 call stack: https://github.com/go-gitea/gitea/blob/25faee3c5f5be23c99b3b7e50418fc0dbad7a41b/routers/api/v1/repo/release.go#L154 https://github.com/go-gitea/gitea/blob/ec1feedbf582b05b6a5e8c59fb2457f25d053ba2/routers/api/v1/utils/page.go#L13-L18 https://github.com/go-gitea/gitea/blob/ec1feedbf582b05b6a5e8c59fb2457f25d053ba2/services/convert/utils.go#L15-L22 ## :warning: Breaking :warning: (though it's not caused by this PR) Do not use `per_page` to specify pagination; use `limit` instead
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl6
1 files changed, 0 insertions, 6 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index d32684c1af..2541726a64 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -11730,12 +11730,6 @@
},
{
"type": "integer",
- "description": "page size of results, deprecated - use limit",
- "name": "per_page",
- "in": "query"
- },
- {
- "type": "integer",
"description": "page number of results to return (1-based)",
"name": "page",
"in": "query"