# frozen_string_literal: true

class GroupVulnerabilityAutocompleteEntity < Grape::Entity
  expose :id
  expose :title
  expose :reference do |vulnerability, options|
    vulnerability.to_reference(options[:parent_group])
  end
end
