debian-mirror-gitlab/lib/api/entities/custom_attribute.rb
2023-01-13 15:02:22 +05:30

10 lines
260 B
Ruby

# 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