Versions in this module Expand all Collapse all v0 v0.16.2 Jun 10, 2024 Changes in this version + func ExtractContent(...) *orderedmap.Map[string, *MediaType] + func ExtractEncoding(...) *orderedmap.Map[string, *Encoding] + func ExtractHeaders(...) *orderedmap.Map[string, *Header] + type Callback struct + Expression *orderedmap.Map[string, *PathItem] + Extensions *orderedmap.Map[string, *yaml.Node] + func NewCallback(lowCallback *low.Callback) *Callback + func (c *Callback) GoLow() *low.Callback + func (c *Callback) GoLowUntyped() any + func (c *Callback) MarshalYAML() (interface{}, error) + func (c *Callback) MarshalYAMLInline() (interface{}, error) + func (c *Callback) Render() ([]byte, error) + func (c *Callback) RenderInline() ([]byte, error) + type Components struct + Callbacks *orderedmap.Map[string, *Callback] + Examples *orderedmap.Map[string, *highbase.Example] + Extensions *orderedmap.Map[string, *yaml.Node] + Headers *orderedmap.Map[string, *Header] + Links *orderedmap.Map[string, *Link] + Parameters *orderedmap.Map[string, *Parameter] + RequestBodies *orderedmap.Map[string, *RequestBody] + Responses *orderedmap.Map[string, *Response] + Schemas *orderedmap.Map[string, *highbase.SchemaProxy] + SecuritySchemes *orderedmap.Map[string, *SecurityScheme] + func NewComponents(comp *low.Components) *Components + func (c *Components) GoLow() *low.Components + func (c *Components) MarshalYAML() (interface{}, error) + func (c *Components) Render() ([]byte, error) + type Document struct + Components *Components + Extensions *orderedmap.Map[string, *yaml.Node] + ExternalDocs *base.ExternalDoc + Index *index.SpecIndex + Info *base.Info + JsonSchemaDialect string + Paths *Paths + Rolodex *index.Rolodex + Security []*base.SecurityRequirement + Servers []*Server + Tags []*base.Tag + Version string + Webhooks *orderedmap.Map[string, *PathItem] + func NewDocument(document *low.Document) *Document + func (d *Document) GoLow() *low.Document + func (d *Document) MarshalYAML() (interface{}, error) + func (d *Document) MarshalYAMLInline() (interface{}, error) + func (d *Document) Render() ([]byte, error) + func (d *Document) RenderInline() ([]byte, error) + func (d *Document) RenderJSON(indention string) ([]byte, error) + func (d *Document) RenderWithIndention(indent int) []byte + type Encoding struct + AllowReserved bool + ContentType string + Explode *bool + Headers *orderedmap.Map[string, *Header] + Style string + func NewEncoding(encoding *low.Encoding) *Encoding + func (e *Encoding) GoLow() *low.Encoding + func (e *Encoding) GoLowUntyped() any + func (e *Encoding) MarshalYAML() (interface{}, error) + func (e *Encoding) Render() ([]byte, error) + type Header struct + AllowEmptyValue bool + AllowReserved bool + Content *orderedmap.Map[string, *MediaType] + Deprecated bool + Description string + Example *yaml.Node + Examples *orderedmap.Map[string, *highbase.Example] + Explode bool + Extensions *orderedmap.Map[string, *yaml.Node] + Required bool + Schema *highbase.SchemaProxy + Style string + func NewHeader(header *low.Header) *Header + func (h *Header) GoLow() *low.Header + func (h *Header) GoLowUntyped() any + func (h *Header) MarshalYAML() (interface{}, error) + func (h *Header) Render() ([]byte, error) + type Link struct + Description string + Extensions *orderedmap.Map[string, *yaml.Node] + OperationId string + OperationRef string + Parameters *orderedmap.Map[string, string] + RequestBody string + Server *Server + func NewLink(link *low.Link) *Link + func (l *Link) GoLow() *low.Link + func (l *Link) GoLowUntyped() any + func (l *Link) MarshalYAML() (interface{}, error) + func (l *Link) Render() ([]byte, error) + type MediaType struct + Encoding *orderedmap.Map[string, *Encoding] + Example *yaml.Node + Examples *orderedmap.Map[string, *base.Example] + Extensions *orderedmap.Map[string, *yaml.Node] + Schema *base.SchemaProxy + func NewMediaType(mediaType *low.MediaType) *MediaType + func (m *MediaType) GoLow() *low.MediaType + func (m *MediaType) GoLowUntyped() any + func (m *MediaType) MarshalYAML() (interface{}, error) + func (m *MediaType) MarshalYAMLInline() (interface{}, error) + func (m *MediaType) Render() ([]byte, error) + func (m *MediaType) RenderInline() ([]byte, error) + type OAuthFlow struct + AuthorizationUrl string + Extensions *orderedmap.Map[string, *yaml.Node] + RefreshUrl string + Scopes *orderedmap.Map[string, string] + TokenUrl string + func NewOAuthFlow(flow *low.OAuthFlow) *OAuthFlow + func (o *OAuthFlow) GoLow() *low.OAuthFlow + func (o *OAuthFlow) GoLowUntyped() any + func (o *OAuthFlow) MarshalYAML() (interface{}, error) + func (o *OAuthFlow) Render() ([]byte, error) + type OAuthFlows struct + AuthorizationCode *OAuthFlow + ClientCredentials *OAuthFlow + Extensions *orderedmap.Map[string, *yaml.Node] + Implicit *OAuthFlow + Password *OAuthFlow + func NewOAuthFlows(flows *low.OAuthFlows) *OAuthFlows + func (o *OAuthFlows) GoLow() *low.OAuthFlows + func (o *OAuthFlows) GoLowUntyped() any + func (o *OAuthFlows) MarshalYAML() (interface{}, error) + func (o *OAuthFlows) Render() ([]byte, error) + type Operation struct + Callbacks *orderedmap.Map[string, *Callback] + Deprecated *bool + Description string + Extensions *orderedmap.Map[string, *yaml.Node] + ExternalDocs *base.ExternalDoc + OperationId string + Parameters []*Parameter + RequestBody *RequestBody + Responses *Responses + Security []*base.SecurityRequirement + Servers []*Server + Summary string + Tags []string + func NewOperation(operation *low.Operation) *Operation + func (o *Operation) GoLow() *low.Operation + func (o *Operation) GoLowUntyped() any + func (o *Operation) MarshalYAML() (interface{}, error) + func (o *Operation) MarshalYAMLInline() (interface{}, error) + func (o *Operation) Render() ([]byte, error) + func (o *Operation) RenderInline() ([]byte, error) + type Parameter struct + AllowEmptyValue bool + AllowReserved bool + Content *orderedmap.Map[string, *MediaType] + Deprecated bool + Description string + Example *yaml.Node + Examples *orderedmap.Map[string, *base.Example] + Explode *bool + Extensions *orderedmap.Map[string, *yaml.Node] + In string + Name string + Required *bool + Schema *base.SchemaProxy + Style string + func NewParameter(param *low.Parameter) *Parameter + func (p *Parameter) GoLow() *low.Parameter + func (p *Parameter) GoLowUntyped() any + func (p *Parameter) IsDefaultFormEncoding() bool + func (p *Parameter) IsDefaultHeaderEncoding() bool + func (p *Parameter) IsDefaultPathEncoding() bool + func (p *Parameter) IsExploded() bool + func (p *Parameter) MarshalYAML() (interface{}, error) + func (p *Parameter) MarshalYAMLInline() (interface{}, error) + func (p *Parameter) Render() ([]byte, error) + func (p *Parameter) RenderInline() ([]byte, error) + type PathItem struct + Delete *Operation + Description string + Extensions *orderedmap.Map[string, *yaml.Node] + Get *Operation + Head *Operation + Options *Operation + Parameters []*Parameter + Patch *Operation + Post *Operation + Put *Operation + Servers []*Server + Summary string + Trace *Operation + func NewPathItem(pathItem *lowV3.PathItem) *PathItem + func (p *PathItem) GetOperations() *orderedmap.Map[string, *Operation] + func (p *PathItem) GoLow() *lowV3.PathItem + func (p *PathItem) GoLowUntyped() any + func (p *PathItem) MarshalYAML() (interface{}, error) + func (p *PathItem) MarshalYAMLInline() (interface{}, error) + func (p *PathItem) Render() ([]byte, error) + func (p *PathItem) RenderInline() ([]byte, error) + type Paths struct + Extensions *orderedmap.Map[string, *yaml.Node] + PathItems *orderedmap.Map[string, *PathItem] + func NewPaths(paths *v3low.Paths) *Paths + func (p *Paths) GoLow() *v3low.Paths + func (p *Paths) GoLowUntyped() any + func (p *Paths) MarshalYAML() (interface{}, error) + func (p *Paths) MarshalYAMLInline() (interface{}, error) + func (p *Paths) Render() ([]byte, error) + func (p *Paths) RenderInline() ([]byte, error) + type RequestBody struct + Content *orderedmap.Map[string, *MediaType] + Description string + Extensions *orderedmap.Map[string, *yaml.Node] + Required *bool + func NewRequestBody(rb *low.RequestBody) *RequestBody + func (r *RequestBody) GoLow() *low.RequestBody + func (r *RequestBody) GoLowUntyped() any + func (r *RequestBody) MarshalYAML() (interface{}, error) + func (r *RequestBody) MarshalYAMLInline() (interface{}, error) + func (r *RequestBody) Render() ([]byte, error) + func (r *RequestBody) RenderInline() ([]byte, error) + type Response struct + Content *orderedmap.Map[string, *MediaType] + Description string + Extensions *orderedmap.Map[string, *yaml.Node] + Headers *orderedmap.Map[string, *Header] + Links *orderedmap.Map[string, *Link] + func NewResponse(response *low.Response) *Response + func (r *Response) GoLow() *low.Response + func (r *Response) GoLowUntyped() any + func (r *Response) MarshalYAML() (interface{}, error) + func (r *Response) MarshalYAMLInline() (interface{}, error) + func (r *Response) Render() ([]byte, error) + func (r *Response) RenderInline() ([]byte, error) + type Responses struct + Codes *orderedmap.Map[string, *Response] + Default *Response + Extensions *orderedmap.Map[string, *yaml.Node] + func NewResponses(responses *low.Responses) *Responses + func (r *Responses) FindResponseByCode(code int) *Response + func (r *Responses) GoLow() *low.Responses + func (r *Responses) GoLowUntyped() any + func (r *Responses) MarshalYAML() (interface{}, error) + func (r *Responses) MarshalYAMLInline() (interface{}, error) + func (r *Responses) Render() ([]byte, error) + func (r *Responses) RenderInline() ([]byte, error) + type SecurityScheme struct + BearerFormat string + Description string + Extensions *orderedmap.Map[string, *yaml.Node] + Flows *OAuthFlows + In string + Name string + OpenIdConnectUrl string + Scheme string + Type string + func NewSecurityScheme(ss *low.SecurityScheme) *SecurityScheme + func (s *SecurityScheme) GoLow() *low.SecurityScheme + func (s *SecurityScheme) GoLowUntyped() any + func (s *SecurityScheme) MarshalYAML() (interface{}, error) + func (s *SecurityScheme) Render() ([]byte, error) + type Server struct + Description string + Extensions *orderedmap.Map[string, *yaml.Node] + URL string + Variables *orderedmap.Map[string, *ServerVariable] + func NewServer(server *low.Server) *Server + func (s *Server) GoLow() *low.Server + func (s *Server) GoLowUntyped() any + func (s *Server) MarshalYAML() (interface{}, error) + func (s *Server) Render() ([]byte, error) + type ServerVariable struct + Default string + Description string + Enum []string + func NewServerVariable(variable *low.ServerVariable) *ServerVariable + func (s *ServerVariable) GoLow() *low.ServerVariable + func (s *ServerVariable) GoLowUntyped() any + func (s *ServerVariable) MarshalYAML() (interface{}, error) + func (s *ServerVariable) Render() ([]byte, error)