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

10 lines
258 B
Ruby

# frozen_string_literal: true
module API
module Entities
class BasicRef < Grape::Entity
expose :type, documentation: { type: 'string', example: 'tag' }
expose :name, documentation: { type: 'string', example: 'v1.1.0' }
end
end
end