diff --git a/convert.go b/convert.go index d388f85..ceb1590 100644 --- a/convert.go +++ b/convert.go @@ -90,6 +90,10 @@ func (b *BOM) convert(specVersion SpecVersion) { } } + if b.ExternalReferences != nil { + convertExternalReferences(b.ExternalReferences, specVersion) + } + b.SpecVersion = specVersion b.XMLNS = xmlNamespaces[specVersion] b.JSONSchema = jsonSchemas[specVersion]