diff options
author | 6543 <6543@obermui.de> | 2020-04-30 06:15:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 01:15:39 -0300 |
commit | bfda0f38646f66dbae2767eed3097489c456ebf5 (patch) | |
tree | b3c915a6fb63215cd2c31c24bf4d7da332503565 /templates/swagger | |
parent | cbf5dffaf29c1e871342c15478b33e9229a7f9d2 (diff) | |
download | gitea-bfda0f38646f66dbae2767eed3097489c456ebf5.tar.gz gitea-bfda0f38646f66dbae2767eed3097489c456ebf5.zip |
[API] ListIssues add filter for milestones (#10148)
* Refactor Issue Filter Func
* ListIssues add filter for milestones
* as per @lafriks
* documentation ...
Diffstat (limited to 'templates/swagger')
-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 3095e5c7f6..edcc5fd37a 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -3769,6 +3769,12 @@ "in": "query" }, { + "type": "string", + "description": "comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded", + "name": "milestones", + "in": "query" + }, + { "type": "integer", "description": "page number of results to return (1-based)", "name": "page", |