API:merge request show && list
This commit is contained in:
parent
42abdf69d5
commit
bd049e5e7c
3 changed files with 38 additions and 0 deletions
|
@ -63,5 +63,11 @@ module Gitlab
|
|||
class SSHKey < Grape::Entity
|
||||
expose :id, :title, :key
|
||||
end
|
||||
|
||||
class MergeRequest < Grape::Entity
|
||||
expose :id, :target_branch, :source_branch, :project_id,
|
||||
:title, :closed, :merged
|
||||
expose :author, :assignee, using: Entities::UserBasic
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue