diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2016-11-22 19:28:58 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2016-11-25 17:49:59 +0300 |
commit | 40e8185b64a04f719c85a793d0fdd5438a129975 (patch) | |
tree | afbe2bb812256a458467c595a25e44beeb003c9e /lib | |
parent | da0dd7ec96b99eb3e357db2ae8ab4f6d11bfcebb (diff) |
Expose coverage on GET pipelines/:id
The coverage wasn't exposed yet, now it is but only for detailed
requests to save queries on the database.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/entities.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 33cb6fd3704..7dfaf2e8eb7 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -606,6 +606,7 @@ module API expose :user, with: Entities::UserBasic expose :created_at, :updated_at, :started_at, :finished_at, :committed_at expose :duration + expose :coverage end class EnvironmentBasic < Grape::Entity |