debian-mirror-gitlab/lib/api/entities/releases/evidence.rb

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

16 lines
543 B
Ruby
Raw Normal View History

2020-04-22 19:07:51 +05:30
# frozen_string_literal: true
module API
module Entities
module Releases
class Evidence < Grape::Entity
include ::API::Helpers::Presentable
2023-01-13 00:05:48 +05:30
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' }
2020-04-22 19:07:51 +05:30
end
end
end
end