mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Large refactor and addedGetAllChanges to each change
tons of updates, so many things.
This commit is contained in:
@@ -269,7 +269,9 @@ func (n ValueReference[T]) MarshalYAML() (interface{}, error) {
|
||||
nodes := make([]*yaml.Node, 2)
|
||||
nodes[0] = utils.CreateStringNode("$ref")
|
||||
nodes[1] = utils.CreateStringNode(n.Reference)
|
||||
return nodes, nil
|
||||
m := utils.CreateEmptyMapNode()
|
||||
m.Content = nodes
|
||||
return m, nil
|
||||
}
|
||||
var h yaml.Node
|
||||
e := n.ValueNode.Decode(&h)
|
||||
|
||||
Reference in New Issue
Block a user