summaryrefslogtreecommitdiff
path: root/lib/api/entities/related_issue.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/related_issue.rb')
-rw-r--r--lib/api/entities/related_issue.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/api/entities/related_issue.rb b/lib/api/entities/related_issue.rb
new file mode 100644
index 00000000000..491c606bd49
--- /dev/null
+++ b/lib/api/entities/related_issue.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+module API
+ module Entities
+ class RelatedIssue < ::API::Entities::Issue
+ expose :issue_link_id
+ expose :issue_link_type, as: :link_type
+ end
+ end
+end