summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-04-06 14:32:36 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2016-04-06 14:32:36 +0200
commit82e92a0900f76d208faf94629c90309201d05914 (patch)
tree2d188c6eebaf5b45b6630d4f70607577f19e7ff7 /lib
parentf76bfed9fc3e52c7b3b731dbb311b6b394d9af62 (diff)
downloadgitlab-ce-82e92a0900f76d208faf94629c90309201d05914.tar.gz
API: Expose open_issues_count, closed_issues_count, open_merge_requests_count on labels
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 340fc5452ab..cd0d16e5316 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -293,6 +293,7 @@ module API
class Label < Grape::Entity
expose :name, :color, :description
+ expose :open_issues_count, :closed_issues_count, :open_merge_requests_count
end
class Compare < Grape::Entity