Added ‘bundler’ module

resolves a v3 document or a model into a single document.

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2024-01-17 11:47:50 -05:00
parent 1da99d7efe
commit 2bc6e9f028
10 changed files with 2423 additions and 2189 deletions

View File

@@ -230,6 +230,12 @@ func (index *SpecIndex) GetMappedReferences() map[string]*Reference {
return index.allMappedRefs
}
// GetRawReferencesSequenced returns a slice of every single reference found in the document, extracted raw from the doc
// returned in the exact order they were found in the document.
func (index *SpecIndex) GetRawReferencesSequenced() []*Reference {
return index.rawSequencedRefs
}
// GetMappedReferencesSequenced will return all references that were mapped successfully to nodes, performed in sequence
// as they were read in from the document.
func (index *SpecIndex) GetMappedReferencesSequenced() []*ReferenceMapped {