mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
Added more support for YAML merge nodes, anchors and aliases
And added deeper support for Aliases. Also added in local file handling through renamed `FSHandler` configuration property for the index. Also re-ran `go fmt` Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
@@ -80,6 +80,7 @@ func (sp *SchemaProxy) Schema() *Schema {
|
||||
return sp.rendered
|
||||
}
|
||||
schema := new(Schema)
|
||||
utils.CheckForMergeNodes(sp.vn)
|
||||
err := schema.Build(sp.vn, sp.idx)
|
||||
if err != nil {
|
||||
sp.buildError = err
|
||||
|
||||
Reference in New Issue
Block a user