Files
libopenapi/datamodel/low/3.0/components.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

20 lines
486 B
Go

package v3
import (
"gopkg.in/yaml.v3"
"net/http"
)
type Components struct {
Node *yaml.Node
Schemas map[string]Schema
Responses map[string]Response
Parameters map[string]Parameter
Examples map[string]Example
RequestBodies map[string]RequestBody
Headers map[string]http.Header
SecuritySchemes map[string]SecurityScheme
Links map[string]Link
Callbacks map[string]Callback
}