summaryrefslogtreecommitdiff
path: root/lib/api/entities/ci/job_artifact_file.rb
blob: 0266f99cd6d8be425b928963611bbe915704051f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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