gitlab-org--gitlab-foss/app/serializers/evidences/release_entity.rb

13 lines
295 B
Ruby

# frozen_string_literal: true
module Evidences
class ReleaseEntity < Grape::Entity
expose :id
expose :tag, as: :tag_name
expose :name
expose :description
expose :created_at
expose :project, using: ProjectEntity
expose :milestones, using: MilestoneEntity
end
end