mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
Adding new low level models for OAS
This commit is contained in:
15
datamodel/low/3.0/example.go
Normal file
15
datamodel/low/3.0/example.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package v3
|
||||
|
||||
import (
|
||||
"github.com/pb33f/libopenapi/datamodel/low"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
||||
type Example struct {
|
||||
Node *yaml.Node
|
||||
Summary low.NodeReference[string]
|
||||
Description low.NodeReference[string]
|
||||
Value low.ObjectReference
|
||||
ExternalValue low.NodeReference[string]
|
||||
Extensions map[string]low.ObjectReference
|
||||
}
|
||||
Reference in New Issue
Block a user