mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 12:37:48 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user