Welcome to mirror list, hosted at ThFree Co, Russian Federation.

namespace_existence.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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