debian-mirror-gitlab/lib/api/entities/namespace_existence.rb
2023-03-05 14:24:40 +05:30

10 lines
276 B
Ruby

# frozen_string_literal: true
module API
module Entities
class NamespaceExistence < Grape::Entity
expose :exists, documentation: { type: 'boolean' }
expose :suggests, documentation: { type: 'string', is_array: true, example: 'my-group1' }
end
end
end