summaryrefslogtreecommitdiff
path: root/lib/api/entities/project_daily_fetches.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/project_daily_fetches.rb')
-rw-r--r--lib/api/entities/project_daily_fetches.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/entities/project_daily_fetches.rb b/lib/api/entities/project_daily_fetches.rb
index 036b5dc99b8..8797aeb9521 100644
--- a/lib/api/entities/project_daily_fetches.rb
+++ b/lib/api/entities/project_daily_fetches.rb
@@ -3,8 +3,8 @@
module API
module Entities
class ProjectDailyFetches < Grape::Entity
- expose :fetch_count, as: :count
- expose :date
+ expose :fetch_count, as: :count, documentation: { type: 'integer', example: 3 }
+ expose :date, documentation: { type: 'date', example: '2022-01-01' }
end
end
end