mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 06:56:40 +01:00
generate json schema from struct definitions
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -24,7 +24,7 @@ type PackageJSON struct {
|
||||
Latest []string `json:"latest"`
|
||||
Author Author `json:"author"`
|
||||
License json.RawMessage `json:"license"`
|
||||
Licenses []license `json:"licenses,omitempty"`
|
||||
Licenses []license `json:"licenses"`
|
||||
Name string `json:"name"`
|
||||
Homepage string `json:"homepage"`
|
||||
Description string `json:"description"`
|
||||
|
||||
Reference in New Issue
Block a user