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

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

module API
  module Entities
    class CommitStats < Grape::Entity
      expose :additions, documentation: { type: 'integer', example: 1 }
      expose :deletions, documentation: { type: 'integer', example: 0 }
      expose :total, documentation: { type: 'integer', example: 1 }
    end
  end
end