2020-08-12 08:10:25 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-05-12 08:08:30 -04:00
|
|
|
# TODO: consider removing this entity after https://gitlab.com/gitlab-org/gitlab/-/issues/360631
|
2020-08-12 08:10:25 -04:00
|
|
|
class ReleaseEntity < Grape::Entity
|
|
|
|
expose :id
|
|
|
|
expose :tag # see https://gitlab.com/gitlab-org/gitlab/-/issues/36338
|
2022-05-12 08:08:30 -04:00
|
|
|
expose :name
|
|
|
|
expose :description
|
|
|
|
expose :project_id
|
|
|
|
expose :author_id
|
|
|
|
|
|
|
|
expose :created_at
|
|
|
|
expose :updated_at
|
|
|
|
expose :released_at
|
2020-08-12 08:10:25 -04:00
|
|
|
end
|