diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-01-25 15:10:50 +0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-01-25 09:10:50 +0200 |
commit | 6b0c2e9e35e716173ef89979c1590e40d431fe57 (patch) | |
tree | 6f951cdd5c0af4aa417714e99234560f5c1113e6 /templates/swagger | |
parent | 892bfd0b19fb8c222abc4660c4f584ba0bf6972a (diff) | |
download | gitea-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.tmpl | 12 |
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": { |