CycloneDX / cyclonedx-go

Go library to consume and produce CycloneDX Software Bill of Materials (SBOM)

Home Page:https://cyclonedx.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies list in Dependency struct should be an array of String, not Dependency

ajbrown opened this issue · comments

I opened a similar issue on the Java library. The specification calls for dependsOn to be a list of bom-refs (as string) without nesting, however the struct implies that dependencies can in fact be nested.

Dependencies *[]Dependency `xml:"dependency,omitempty"`