diff --git a/schema/json/generate.go b/schema/json/generate.go index bf3daea1301..e81cff02030 100644 --- a/schema/json/generate.go +++ b/schema/json/generate.go @@ -29,6 +29,9 @@ can be extended to include specific package metadata struct shapes in the future // not matter as long as it is exported. // TODO: this should be generated from reflection of whats in the pkg package +// Should be created during generation below; use reflection's ability to +// create types at runtime. +// should be same name as struct minus metadata type artifactMetadataContainer struct { Alpm pkg.AlpmMetadata Apk pkg.ApkMetadata @@ -56,7 +59,7 @@ type artifactMetadataContainer struct { PythonPackage pkg.PythonPackageMetadata PythonPipfilelock pkg.PythonPipfileLockMetadata PythonRequirements pkg.PythonRequirementsMetadata - R pkg.RDescriptionFileMetadata + RDescriptionFile pkg.RDescriptionFileMetadata Rebar pkg.RebarLockMetadata Rpm pkg.RpmMetadata RustCargo pkg.CargoPackageMetadata