mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-04 10:16:47 +02: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:
parent
33f606ce4c
commit
00a806de68
3 changed files with 60 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue