summaryrefslogtreecommitdiff
path: root/lib/api/entities/releases/source.rb
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