Welcome to mirror list, hosted at ThFree Co, Russian Federation.

job_artifact_file.rb « ci « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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