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
This commit is contained in:
Lanre Adelowo authored and Lunny Xiao committed 2019-06-06 08:37:45 +08:00
1 parent 59e6a7b97f
commit de6539fc8c
8 files changed
+76 -15

No files matched your search

+6
View File
@@ -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": {