Adding new low level models for OAS

This commit is contained in:
Dave Shanley
2022-07-28 08:49:57 -04:00
parent 0665855605
commit a5f4c7f607
14 changed files with 206 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package v3
import (
"github.com/pb33f/libopenapi/datamodel/low"
"gopkg.in/yaml.v3"
)
type Encoding struct {
Node *yaml.Node
ContentType low.NodeReference[string]
Headers map[string]Parameter
Style low.NodeReference[string]
Explode low.NodeReference[bool]
AllowReserved low.NodeReference[bool]
}