debian-mirror-gitlab/lib/api/entities/releases/source.rb
2023-01-12 18:35:48 +00:00

12 lines
348 B
Ruby

# 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