mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 12:37:49 +00:00
Full model is now in place,
Time to revisit each model and build individual tests to ensure all error handling is in place across the model. Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
@@ -27,12 +27,6 @@ type ValueReference[T any] struct {
|
||||
ValueNode *yaml.Node
|
||||
}
|
||||
|
||||
type ObjectReference struct {
|
||||
Value interface{}
|
||||
ValueNode *yaml.Node
|
||||
KeyNode *yaml.Node
|
||||
}
|
||||
|
||||
func (n NodeReference[T]) IsEmpty() bool {
|
||||
return n.KeyNode == nil && n.ValueNode == nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user