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

custom_attribute.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 883b572ac756ea9b569d8578e631741168f97ea4 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

module API
  module Entities
    class CustomAttribute < Grape::Entity
      expose :key, documentation: { type: 'string', example: 'foo' }
      expose :value, documentation: { type: 'string', example: 'bar' }
    end
  end
end