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

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

module API
  module Entities
    module Releases
      class Source < Grape::Entity
        expose :format, documentation: { type: 'string', example: 'zip' }
        expose :url, documentation: { type: 'string', example: 'https://gitlab.example.com/root/app/-/archive/v1.0/app-v1.0.zip' }
      end
    end
  end
end