diff options
author | 6543 <6543@obermui.de> | 2020-06-10 00:01:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 18:01:36 -0400 |
commit | 1ac46186ff004861a786a81fe045beddaf790407 (patch) | |
tree | 179108d99d750bc77fb3a5ce5b6ccd865de807ea /templates | |
parent | 19db3f4f0a6739e10aaa36d86ef5fd89dcf71467 (diff) | |
download | gitea-1ac46186ff004861a786a81fe045beddaf790407.tar.gz gitea-1ac46186ff004861a786a81fe045beddaf790407.zip |
API allow to create closed milestones (#11745)
* API allow to create closed milestones
* set CloseDate too
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 3c6186a938..bf011285f8 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -11384,6 +11384,14 @@ "format": "date-time", "x-go-name": "Deadline" }, + "state": { + "type": "string", + "enum": [ + "open", + "closed" + ], + "x-go-name": "State" + }, "title": { "type": "string", "x-go-name": "Title" |