package unmarshal

import (
	"io"

	"github.com/google/osv-scanner/pkg/models"
)

type OSVVulnerability = models.Vulnerability

func OSVVulnerabilityEntries(reader io.Reader) ([]OSVVulnerability, error) {
	return unmarshalSingleOrMulti[OSVVulnerability](reader)
}
