debian-mirror-gitlab/lib/api/entities/namespace_existence.rb
2023-03-04 22:38:38 +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