Commit 963f475d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix milestone api docs: invalid param for close

parent a4e671dc
...@@ -56,5 +56,5 @@ Parameters: ...@@ -56,5 +56,5 @@ Parameters:
+ `title` (optional) - The title of a milestone + `title` (optional) - The title of a milestone
+ `description` (optional) - The description of a milestone + `description` (optional) - The description of a milestone
+ `due_date` (optional) - The due date of the milestone + `due_date` (optional) - The due date of the milestone
+ `closed` (optional) - The status of the milestone + `state_event` (optional) - The state event of the milestone (close|activate)
...@@ -60,7 +60,7 @@ module API ...@@ -60,7 +60,7 @@ module API
# title (optional) - The title of a milestone # title (optional) - The title of a milestone
# description (optional) - The description of a milestone # description (optional) - The description of a milestone
# due_date (optional) - The due date of a milestone # due_date (optional) - The due date of a milestone
# state (optional) - The status of the milestone (close|activate) # state_event (optional) - The state event of the milestone (close|activate)
# Example Request: # Example Request:
# PUT /projects/:id/milestones/:milestone_id # PUT /projects/:id/milestones/:milestone_id
put ":id/milestones/:milestone_id" do put ":id/milestones/:milestone_id" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment