Skip to content

Commit

Permalink
change Data's type to *[]ComponentData
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskim0987 committed Sep 26, 2024
1 parent 396a52c commit f031bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyclonedx.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ type Component struct {
Evidence *Evidence `json:"evidence,omitempty" xml:"evidence,omitempty"`
ReleaseNotes *ReleaseNotes `json:"releaseNotes,omitempty" xml:"releaseNotes,omitempty"`
ModelCard *MLModelCard `json:"modelCard,omitempty" xml:"modelCard,omitempty"`
Data *ComponentData `json:"data,omitempty" xml:"data,omitempty"`
Data *[]ComponentData `json:"data,omitempty" xml:"data,omitempty"`
CryptoProperties *CryptoProperties `json:"cryptoProperties,omitempty" xml:"cryptoProperties,omitempty"`
}

Expand Down

0 comments on commit f031bdf

Please sign in to comment.