blob: ac9511930abb2276e70a65d83bd446432ef47b56 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# 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
|