summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-01-25 15:10:50 +0800
committerLauris BH <lauris@nix.lv>2019-01-25 09:10:50 +0200
commit6b0c2e9e35e716173ef89979c1590e40d431fe57 (patch)
tree6f951cdd5c0af4aa417714e99234560f5c1113e6 /templates/swagger
parent892bfd0b19fb8c222abc4660c4f584ba0bf6972a (diff)
downloadgitea-6b0c2e9e35e716173ef89979c1590e40d431fe57.tar.gz
gitea-6b0c2e9e35e716173ef89979c1590e40d431fe57.zip
update swagger for release API pagination (#5841)
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index c3475abace..6989a05073 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -3834,6 +3834,18 @@
"name": "repo",
"in": "path",
"required": true
+ },
+ {
+ "type": "integer",
+ "description": "page wants to load",
+ "name": "page",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "items count every page wants to load",
+ "name": "per_page",
+ "in": "query"
}
],
"responses": {