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/commit.rb')
-rw-r--r--lib/api/entities/commit.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/entities/commit.rb b/lib/api/entities/commit.rb
index ab1f51289d7..99ae4b66f67 100644
--- a/lib/api/entities/commit.rb
+++ b/lib/api/entities/commit.rb
@@ -17,6 +17,10 @@ module API
expose :committer_email, documentation: { type: 'string', example: 'jack@example.com' }
expose :committed_date, documentation: { type: 'dateTime', example: '2012-05-28T04:42:42-07:00' }
expose :trailers, documentation: { type: 'object', example: '{ "Merged-By": "Jane Doe janedoe@gitlab.com" }' }
+ expose :extended_trailers, documentation: {
+ type: 'object',
+ example: '{ "Signed-off-by": ["John Doe <johndoe@gitlab.com>", "Jane Doe <janedoe@gitlab.com>"] }'
+ }
expose :web_url,
documentation: {