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