mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 12:37:48 +00:00
render empty oauth scopes
see https://github.com/pb33f/libopenapi/issues/289
This commit is contained in:
@@ -36,6 +36,9 @@ type findValueUntyped interface {
|
||||
// ToYamlNode converts the ordered map to a yaml node ready for marshalling.
|
||||
func (o *Map[K, V]) ToYamlNode(n NodeBuilder, l any) *yaml.Node {
|
||||
p := utils.CreateEmptyMapNode()
|
||||
if o != nil {
|
||||
p.Content = make([]*yaml.Node, 0)
|
||||
}
|
||||
|
||||
var vn *yaml.Node
|
||||
|
||||
|
||||
Reference in New Issue
Block a user