mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
[API] Milestone endpoints accept names too (#12649)
* API: Milestone endpoints accept names too * add test * rename Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
@@ -6353,9 +6353,8 @@
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "id of the milestone",
|
||||
"type": "string",
|
||||
"description": "the milestone to get, identified by ID and if not available by name",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
@@ -6389,9 +6388,8 @@
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "id of the milestone to delete",
|
||||
"type": "string",
|
||||
"description": "the milestone to delete, identified by ID and if not available by name",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
@@ -6431,9 +6429,8 @@
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "id of the milestone",
|
||||
"type": "string",
|
||||
"description": "the milestone to edit, identified by ID and if not available by name",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
|
Reference in New Issue
Block a user