mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 12:37:49 +00:00
Working on building out models
a recursive approach? or a dfs approach? not sure yet. still playing with ideas.
This commit is contained in:
@@ -6,6 +6,10 @@ type HasNode interface {
|
||||
GetNode() *yaml.Node
|
||||
}
|
||||
|
||||
type Buildable interface {
|
||||
Build(node *yaml.Node)
|
||||
}
|
||||
|
||||
type NodeReference[T comparable] struct {
|
||||
Value T
|
||||
Node *yaml.Node
|
||||
|
||||
Reference in New Issue
Block a user