Welcome to mirror list, hosted at ThFree Co, Russian Federation.

milestone_with_stats.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 33fa322573bdafde2d029a97d2adc967414773ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module API
  module Entities
    class MilestoneWithStats < Entities::Milestone
      expose :issue_stats do
        expose :total_issues_count, as: :total
        expose :closed_issues_count, as: :closed
      end
    end
  end
end