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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/dictionary/table.rb')
-rw-r--r--lib/api/entities/dictionary/table.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/api/entities/dictionary/table.rb b/lib/api/entities/dictionary/table.rb
new file mode 100644
index 00000000000..8d4e3fb959d
--- /dev/null
+++ b/lib/api/entities/dictionary/table.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+module API
+ module Entities
+ module Dictionary
+ class Table < Grape::Entity
+ expose :table_name, documentation: { type: :string, example: 'users' }
+ expose :feature_categories, documentation: { type: :array, example: ['database'] }
+ end
+ end
+ end
+end