Skip to content

Commit

Permalink
feat(spec1-5): add additional external reference types
Browse files Browse the repository at this point in the history
Signed-off-by: nscuro <nscuro@protonmail.com>
  • Loading branch information
nscuro committed Dec 7, 2023
1 parent d597bb9 commit 3feda75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 3feda75

Please sign in to comment.