Files
libopenapi/datamodel/low/3.0/path.go
Dave Shanley a906d46227 Completed adding v3 models (I think)
Going to start logic for building things out. attempting generic builder pattern first.
2022-07-29 06:52:07 -04:00

31 lines
703 B
Go

package v3
import (
"github.com/pb33f/libopenapi/datamodel/low"
"gopkg.in/yaml.v3"
)
type Paths struct {
Node *yaml.Node
Paths map[string]Path
Extensions map[string]low.ObjectReference
}
type Path struct {
Node *yaml.Node
Value low.NodeReference[string]
Summary low.NodeReference[string]
Description low.NodeReference[string]
Get Operation
Put Operation
Post Operation
Delete Operation
Options Operation
Head Operation
Patch Operation
Trace Operation
Servers []Server
Parameters []Parameter
Extensions map[string]low.ObjectReference
}