summaryrefslogtreecommitdiff
path: root/lib/api/entities/commit_stats.rb
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