Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 v1.0.0 Sep 22, 2026 Changes in this version + type Callback map[string]*PathItem + type CallbackRef struct + Ref string + type Callbacks map[string]*CallbackRef + type Components struct + Callbacks Callbacks + Examples Examples + Headers Headers + Links Links + Parameters ParametersMap + RequestBodies RequestBodies + Responses Responses + Schemas Schemas + SecuritySchemes SecuritySchemes + type Contact struct + Email string + Name string + URL string + type Content map[string]*MediaType + type Discriminator struct + Mapping map[string]string + PropertyName string + type Encoding struct + AllowReserved bool + ContentType string + Explode *bool + Headers Headers + Style string + type Example struct + Description string + ExternalValue string + Ref string + Summary string + Value interface{} + type Examples map[string]*Example + type ExternalDocumentation struct + Description string + URL string + type Headers map[string]*Parameter + type Info struct + Contact *Contact + Description string + License *License + TermsOfService string + Title string + Version string + type License struct + Name string + URL string + type Link struct + Description string + OperationID string + OperationRef string + Parameters map[string]interface{} + Ref string + RequestBody interface{} + Server *Server + type Links map[string]*Link + type MediaType struct + Encoding map[string]*Encoding + Example interface{} + Examples Examples + Schema *Schema + type OAuthFlow struct + AuthorizationURL string + RefreshURL string + Scopes map[string]string + TokenURL string + type OAuthFlows struct + AuthorizationCode *OAuthFlow + ClientCredentials *OAuthFlow + Implicit *OAuthFlow + Password *OAuthFlow + type OpenAPI struct + Components Components + ExternalDocs *ExternalDocumentation + Info *Info + OpenAPI string + Paths Paths + Security SecurityRequirements + Servers Servers + Tags Tags + type Operation struct + Callbacks Callbacks + Deprecated bool + Description string + ExternalDocs *ExternalDocumentation + OperationID string + Parameters Parameters + RequestBody *RequestBody + Responses Responses + Security *SecurityRequirements + Servers *Servers + Summary string + Tags []string + type Parameter struct + AllowEmptyValue bool + AllowReserved bool + Content Content + Deprecated bool + Description string + Example interface{} + Examples Examples + Explode *bool + In string + Name string + Ref string + Required bool + Schema *Schema + Style string + type Parameters []*Parameter + type ParametersMap map[string]*Parameter + type PathItem struct + Delete *Operation + Description string + Get *Operation + Head *Operation + Options *Operation + Parameters Parameters + Patch *Operation + Post *Operation + Put *Operation + Ref string + Servers Servers + Summary string + Trace *Operation + type Paths map[string]*PathItem + type RequestBodies map[string]*RequestBody + type RequestBody struct + Content Content + Description string + Ref string + Required bool + type Response struct + Content Content + Description *string + Headers Headers + Links Links + Ref string + type Responses map[string]*Response + type Schema struct + AdditionalProperties *Schema + AdditionalPropertiesAllowed *bool + AllOf SchemaList + AllowEmptyValue bool + AnyOf SchemaList + Default interface{} + Deprecated bool + Description string + Discriminator *Discriminator + Enum []interface{} + Example interface{} + ExclusiveMax bool + ExclusiveMin bool + ExternalDocs *ExternalDocumentation + Format string + Items *Schema + Max *float64 + MaxItems *uint64 + MaxLength *uint64 + MaxProps *uint64 + Min *float64 + MinItems uint64 + MinLength uint64 + MinProps uint64 + MultipleOf *float64 + Not *Schema + Nullable bool + OneOf SchemaList + Pattern string + Properties Schemas + ReadOnly bool + Ref string + Required []string + Title string + Type string + UniqueItems bool + WriteOnly bool + XML *XML + func (s *Schema) UnmarshalJSON(data []byte) error + func (s *Schema) UnmarshalYAML(node *yaml.Node) error + func (s Schema) MarshalJSON() ([]byte, error) + func (s Schema) MarshalYAML() (any, error) + type SchemaList []*Schema + type Schemas map[string]*Schema + type SecurityRequirement map[string][]string + type SecurityRequirements []SecurityRequirement + type SecurityScheme struct + BearerFormat string + Description string + Flows *OAuthFlows + In string + Name string + OpenIdConnectUrl string + Ref string + Scheme string + Type string + type SecuritySchemes map[string]*SecurityScheme + type Server struct + Description string + URL string + Variables map[string]ServerVariable + type ServerVariable struct + Default string + Description string + Enum []string + type Servers []Server + type Tag struct + Description string + ExternalDocs *ExternalDocumentation + Name string + type Tags []*Tag + type XML struct + Attribute bool + Name string + Namespace string + Prefix string + Wrapped bool