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

12 lines
322 B
Ruby

# frozen_string_literal: true
module API
module Entities
module Ci
class JobArtifactFile < Grape::Entity
expose :filename, documentation: { type: 'string', example: 'artifacts.zip' }
expose :cached_size, as: :size, documentation: { type: 'integer', example: 1000 }
end
end
end
end