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

basic_ref.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1b821a5b0ec20181094dccd72c97bb94caf59933 (plain)
1
2
3
4
5
6
7
8
9
10
# 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