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

evidence.rb « releases « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9d324309213f078580f2f0e79b0d0478eaa0b758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module API
  module Entities
    module Releases
      class Evidence < Grape::Entity
        include ::API::Helpers::Presentable

        expose :sha, documentation: { type: 'string', example: '760d6cdfb0879c3ffedec13af470e0f71cf52c6cde4d' }
        expose :filepath, documentation: { type: 'string', example: 'https://gitlab.example.com/root/app/-/releases/v1.0/evidence.json' }
        expose :collected_at, documentation: { type: 'dateTime', example: '2019-01-03T01:56:19.539Z' }
      end
    end
  end
end