mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Bumping coverage on schema to 100%
I think it should be pretty much bullet proof at the moment (until the next failure). Also added external index lookups from main index for external docs. found this bug after refining lookups in schemas.
This commit is contained in:
@@ -495,6 +495,11 @@ func (index *SpecIndex) GetAllOperationsServers() map[string]map[string][]*Refer
|
||||
return index.opServersRefs
|
||||
}
|
||||
|
||||
// GetAllExternalIndexes will return all indexes for external documents
|
||||
func (index *SpecIndex) GetAllExternalIndexes() map[string]*SpecIndex {
|
||||
return index.externalSpecIndex
|
||||
}
|
||||
|
||||
func (index *SpecIndex) checkPolymorphicNode(name string) (bool, string) {
|
||||
switch name {
|
||||
case "anyOf":
|
||||
|
||||
Reference in New Issue
Block a user