debian-mirror-gitlab/app/serializers/release_entity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
396 B
Ruby
Raw Normal View History

2020-10-24 23:57:45 +05:30
# frozen_string_literal: true
2022-07-16 23:28:13 +05:30
# TODO: consider removing this entity after https://gitlab.com/gitlab-org/gitlab/-/issues/360631
2020-10-24 23:57:45 +05:30
class ReleaseEntity < Grape::Entity
expose :id
expose :tag # see https://gitlab.com/gitlab-org/gitlab/-/issues/36338
2022-07-16 23:28:13 +05:30
expose :name
expose :description
expose :project_id
expose :author_id
expose :created_at
expose :updated_at
expose :released_at
2020-10-24 23:57:45 +05:30
end