debian-mirror-gitlab/lib/api/entities/ci/job_artifact_file.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
322 B
Ruby
Raw Normal View History

2020-10-24 23:57:45 +05:30
# frozen_string_literal: true
module API
module Entities
module Ci
class JobArtifactFile < Grape::Entity
2023-01-13 00:05:48 +05:30
expose :filename, documentation: { type: 'string', example: 'artifacts.zip' }
expose :cached_size, as: :size, documentation: { type: 'integer', example: 1000 }
2020-10-24 23:57:45 +05:30
end
end
end
end