debian-mirror-gitlab/lib/api/entities/commit_stats.rb
2023-01-12 18:35:48 +00:00

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