summaryrefslogtreecommitdiff
path: root/lib/api/milestone_responses.rb
diff options
context:
space:
mode:
authorMark Fletcher <mark@gitlab.com>2018-05-24 16:03:58 +0100
committerMark Fletcher <mark@gitlab.com>2018-05-24 16:05:29 +0100
commit2dd1c8e5d84163e3cfc655e0dad5384f1d4aa0c2 (patch)
treea9964bcb83a3006ecdda13f36e8996cfab9d5163 /lib/api/milestone_responses.rb
parentc52db71e36ee70c4c5be80b029cf4362f28e3667 (diff)
downloadgitlab-ce-2dd1c8e5d84163e3cfc655e0dad5384f1d4aa0c2.tar.gz
Allow start_date as only parameter when updating Milestone via API
Diffstat (limited to 'lib/api/milestone_responses.rb')
-rw-r--r--lib/api/milestone_responses.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/milestone_responses.rb b/lib/api/milestone_responses.rb
index c570eace862..a8eb137e46a 100644
--- a/lib/api/milestone_responses.rb
+++ b/lib/api/milestone_responses.rb
@@ -24,7 +24,7 @@ module API
optional :state_event, type: String, values: %w[close activate],
desc: 'The state event of the milestone '
use :optional_params
- at_least_one_of :title, :description, :due_date, :state_event
+ at_least_one_of :title, :description, :start_date, :due_date, :state_event
end
def list_milestones_for(parent)