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

issue_link.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8e24b046325adc259c2354958cd05f5fc932a10d (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module API
  module Entities
    class IssueLink < Grape::Entity
      expose :source, as: :source_issue, using: ::API::Entities::IssueBasic
      expose :target, as: :target_issue, using: ::API::Entities::IssueBasic
      expose :link_type
    end
  end
end