diff options
author | Lanre Adelowo <adelowomailbox@gmail.com> | 2019-06-06 01:37:45 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-06-06 08:37:45 +0800 |
commit | de6539fc8c37485afcd6f30092a9ccbc3cae7de5 (patch) | |
tree | 02aec172ffe99ac123b56b301c70774f1f3f1292 /templates | |
parent | 59e6a7b97f503c12ef2a6096ca7f127f81521b7a (diff) | |
download | gitea-de6539fc8c37485afcd6f30092a9ccbc3cae7de5.tar.gz gitea-de6539fc8c37485afcd6f30092a9ccbc3cae7de5.zip |
Add state param to milestone listing API (#7131)
* Support state params
* update tests
* fix tests
* add state=all support
* update tests
* update swagger
* update swagger
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 77515bb139..0bd85fbb6e 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -3892,6 +3892,12 @@ "name": "repo", "in": "path", "required": true + }, + { + "type": "string", + "description": "Milestone state, Recognised values are open, closed and all. Defaults to \"open\"", + "name": "state", + "in": "query" } ], "responses": { |