diff options
author | Robert Schilling <2900-razer6@users.noreply.gitlab.com> | 2019-02-13 17:34:20 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-02-13 17:34:20 +0300 |
commit | 314c99e36c37379eea1dc4556d0a7fcb48efc275 (patch) | |
tree | 6492da7f89e701f82833e8934dbb10f4388f2b49 /lib | |
parent | c5e57aa89566a0a1889763d7134860c3f2a3e03a (diff) |
API: Expose full commit title
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/entities.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 65f615b7d28..0ef56067b95 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -369,8 +369,9 @@ module API end class Commit < Grape::Entity - expose :id, :short_id, :title, :created_at + expose :id, :short_id, :created_at expose :parent_ids + expose :full_title, as: :title expose :safe_message, as: :message expose :author_name, :author_email, :authored_date expose :committer_name, :committer_email, :committed_date |