debian-mirror-gitlab/lib/api/entities/commit_stats.rb
2023-01-13 15:02:22 +05:30

11 lines
328 B
Ruby

# 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