mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Adding new low level models for OAS
This commit is contained in:
15
datamodel/low/3.0/encoding.go
Normal file
15
datamodel/low/3.0/encoding.go
Normal 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]
|
||||
}
|
||||
Reference in New Issue
Block a user