summaryrefslogtreecommitdiff
path: root/app/serializers/release_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/release_entity.rb')
-rw-r--r--app/serializers/release_entity.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/serializers/release_entity.rb b/app/serializers/release_entity.rb
new file mode 100644
index 00000000000..6777b0f9780
--- /dev/null
+++ b/app/serializers/release_entity.rb
@@ -0,0 +1,6 @@
+# frozen_string_literal: true
+
+class ReleaseEntity < Grape::Entity
+ expose :id
+ expose :tag # see https://gitlab.com/gitlab-org/gitlab/-/issues/36338
+end