Fleshing out high level model for v2 (swagger)

This commit is contained in:
Dave Shanley
2022-09-09 12:22:21 -04:00
parent 2c4177e97a
commit bfb312af15
8 changed files with 192 additions and 11 deletions

View File

@@ -5,15 +5,15 @@ package base
import (
"github.com/pb33f/libopenapi/datamodel/low"
v3 "github.com/pb33f/libopenapi/datamodel/low/base"
"github.com/pb33f/libopenapi/datamodel/low/base"
)
type SchemaProxy struct {
schema *low.NodeReference[*v3.SchemaProxy]
schema *low.NodeReference[*base.SchemaProxy]
buildError error
}
func NewSchemaProxy(schema *low.NodeReference[*v3.SchemaProxy]) *SchemaProxy {
func NewSchemaProxy(schema *low.NodeReference[*base.SchemaProxy]) *SchemaProxy {
return &SchemaProxy{schema: schema}
}