gitlab-org--gitlab-foss/app/serializers/vulnerabilities/finding_reports_comparer_entity.rb

12 lines
401 B
Ruby

# frozen_string_literal: true
class Vulnerabilities::FindingReportsComparerEntity < Grape::Entity
include RequestAwareEntity
expose :base_report_created_at
expose :base_report_out_of_date
expose :head_report_created_at
expose :added, using: Vulnerabilities::FindingEntity
expose :fixed, using: Vulnerabilities::FindingEntity
expose :existing, using: Vulnerabilities::FindingEntity
end