debian-mirror-gitlab/lib/api/entities/namespace_existence.rb

11 lines
276 B
Ruby
Raw Normal View History

2021-04-29 21:17:54 +05:30
# frozen_string_literal: true
module API
module Entities
class NamespaceExistence < Grape::Entity
2023-03-04 22:38:38 +05:30
expose :exists, documentation: { type: 'boolean' }
expose :suggests, documentation: { type: 'string', is_array: true, example: 'my-group1' }
2021-04-29 21:17:54 +05:30
end
end
end