mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Add key node to the Buildable interface
This commit is contained in:
@@ -38,7 +38,7 @@ type IsReferenced interface {
|
||||
//
|
||||
// Used by generic functions when automatically building out structs based on yaml.Node inputs.
|
||||
type Buildable[T any] interface {
|
||||
Build(node *yaml.Node, idx *index.SpecIndex) error
|
||||
Build(key, value *yaml.Node, idx *index.SpecIndex) error
|
||||
*T
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user