summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2019-01-14 14:52:05 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2019-02-06 14:56:16 +0100
commit7c6efc001f90ff07c0d48e81409dc5ecd3739b25 (patch)
tree27640ef86320f2aa1177016ee0c3254a1cdab0c8 /lib
parentad25e14844eeb0db92f69e637eb20ee8a1328659 (diff)
downloadgitlab-ce-7c6efc001f90ff07c0d48e81409dc5ecd3739b25.tar.gz
Add documentationapi-group-labels
Diffstat (limited to 'lib')
-rw-r--r--lib/api/group_labels.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/group_labels.rb b/lib/api/group_labels.rb
index e578293b2ef..0dbc5f45a68 100644
--- a/lib/api/group_labels.rb
+++ b/lib/api/group_labels.rb
@@ -38,7 +38,7 @@ module API
success Entities::GroupLabel
end
params do
- requires :name, type: String, desc: 'The name of the label to be updated'
+ requires :name, type: String, desc: 'The name of the label to be updated'
optional :new_name, type: String, desc: 'The new name of the label'
optional :color, type: String, desc: "The new color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the allowed CSS color names"
optional :description, type: String, desc: 'The new description of label'