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

10 lines
285 B
Ruby

# frozen_string_literal: true
module API
module Entities
class ProjectDailyFetches < Grape::Entity
expose :fetch_count, as: :count, documentation: { type: 'integer', example: 3 }
expose :date, documentation: { type: 'date', example: '2022-01-01' }
end
end
end