mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
cleaned up path handling a little
Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -450,6 +450,7 @@ func (n *NodeBuilder) AddYAMLNode(parent *yaml.Node, entry *nodes.NodeEntry) *ya
|
||||
} else {
|
||||
// try an inline render if we can, otherwise there is no option but to default to the
|
||||
// full render.
|
||||
|
||||
if _, ko := r.(RenderableInline); ko {
|
||||
rawRender, _ = r.(RenderableInline).MarshalYAMLInline()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user