Skip to content

Commit

Permalink
feat: support parent project for bom upload
Browse files Browse the repository at this point in the history
Signed-off-by: nscuro <nscuro@protonmail.com>
  • Loading branch information
nscuro committed Jun 14, 2023
1 parent 76e0572 commit defa35d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bom.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ type BOMUploadRequest struct {
ProjectUUID *uuid.UUID `json:"project,omitempty"`
ProjectName string `json:"projectName,omitempty"`
ProjectVersion string `json:"projectVersion,omitempty"`
ParentUUID *uuid.UUID `json:"parentUUID,omitempty"` // Since v4.8.0
ParentName string `json:"parentName,omitempty"` // Since v4.8.0
ParentVersion string `json:"parentVersion,omitempty"` // Since v4.8.0
AutoCreate bool `json:"autoCreate"`
BOM string `json:"bom"`
}
Expand Down

0 comments on commit defa35d

Please sign in to comment.