Versions in this module Expand all Collapse all v0 v0.0.2 Nov 27, 2026 v0.0.1 Nov 27, 2026 Changes in this version + const MethodQuery + const ParameterInCookie + const ParameterInHeader + const ParameterInPath + const ParameterInQuery + const TypeArray + const TypeBoolean + const TypeInteger + const TypeNull + const TypeNumber + const TypeObject + const TypeString + type AdditionalProperties = BoolSchema + type BoolSchema struct + Has *bool + Schema *SchemaRef + type Callback struct + Extensions map[string]any + Origin *Origin + func NewCallback() *Callback + func (callback *Callback) Delete(key string) + func (callback *Callback) Keys() []string + func (callback *Callback) Len() int + func (callback *Callback) Map() map[string]*PathItem + func (callback *Callback) Set(key string, value *PathItem) + func (callback *Callback) Value(key string) *PathItem + type CallbackRef struct + Description *string + Extensions map[string]any + Origin *Origin + Ref string + Summary *string + Value *Callback + type Callbacks map[string]*CallbackRef + type Components struct + Callbacks Callbacks + Examples Examples + Extensions map[string]any + Headers Headers + Links Links + Origin *Origin + Parameters ParametersMap + RequestBodies RequestBodies + Responses ResponseBodies + Schemas Schemas + SecuritySchemes SecuritySchemes + type Content map[string]*MediaType + type Discriminator struct + Extensions map[string]any + Mapping map[string]MappingRef + Origin *Origin + PropertyName string + type Document struct + Components *Components + Extensions map[string]any + ExternalDocs *ExternalDocs + Info *Info + OpenAPI string + Origin *Origin + Paths *Paths + Security SecurityRequirements + Servers Servers + Tags Tags + Webhooks map[string]*PathItem + func (doc *Document) IsOpenAPI31OrLater() bool + func (doc *Document) OpenAPIMajorMinor() string + type Encoding struct + AllowReserved bool + ContentType string + Explode *bool + Extensions map[string]any + Headers Headers + Origin *Origin + Style string + type Encodings map[string]*Encoding + type Example struct + Description string + Extensions map[string]any + ExternalValue string + Origin *Origin + Summary string + Value any + type ExampleRef struct + Description *string + Extensions map[string]any + Origin *Origin + Ref string + Summary *string + Value *Example + type Examples map[string]*ExampleRef + type ExclusiveBound struct + Bool *bool + Value *float64 + type ExternalDocs struct + Description string + Extensions map[string]any + Origin *Origin + URL string + type FieldLocations []Location + func (f FieldLocations) Get(name string) Location + func (f FieldLocations) Lookup(name string) (Location, bool) + type Header struct + type HeaderRef struct + Description *string + Extensions map[string]any + Origin *Origin + Ref string + Summary *string + Value *Header + type Headers map[string]*HeaderRef + type Info struct + Description string + Extensions map[string]any + Origin *Origin + Summary string + Title string + Version string + type Link struct + Description string + Extensions map[string]any + OperationID string + OperationRef string + Origin *Origin + Parameters map[string]any + RequestBody any + Server *Server + type LinkRef struct + Description *string + Extensions map[string]any + Origin *Origin + Ref string + Summary *string + Value *Link + type Links map[string]*LinkRef + type Location struct + Column int + EndColumn int + EndLine int + File string + Line int + Name string + type MappingRef struct + Extensions map[string]any + Origin *Origin + Ref string + Value *Schema + type MediaType struct + Encoding Encodings + Example any + Examples Examples + Extensions map[string]any + ItemSchema *SchemaRef + Origin *Origin + Schema *SchemaRef + type Operation struct + Callbacks Callbacks + Deprecated bool + Description string + Extensions map[string]any + ExternalDocs *ExternalDocs + OperationID string + Origin *Origin + Parameters Parameters + RequestBody *RequestBodyRef + Responses *Responses + Security *SecurityRequirements + Servers *Servers + Summary string + Tags []string + type Origin struct + Fields FieldLocations + Key *Location + Sequences map[string][]Location + type Parameter struct + AllowEmptyValue bool + AllowReserved bool + Content Content + Deprecated bool + Description string + Example any + Examples Examples + Explode *bool + Extensions map[string]any + In string + Name string + Origin *Origin + Required bool + Schema *SchemaRef + Style string + type ParameterRef struct + Description *string + Extensions map[string]any + Origin *Origin + Ref string + Summary *string + Value *Parameter + type Parameters []*ParameterRef + type ParametersMap map[string]*ParameterRef + type PathItem struct + AdditionalOperations map[string]*Operation + Connect *Operation + Delete *Operation + Description string + Extensions map[string]any + Get *Operation + Head *Operation + Options *Operation + Origin *Origin + Parameters Parameters + Patch *Operation + Post *Operation + Put *Operation + Query *Operation + Ref string + Servers Servers + Summary string + Trace *Operation + func (pathItem *PathItem) GetOperation(method string) *Operation + func (pathItem *PathItem) Operations() map[string]*Operation + func (pathItem *PathItem) SetOperation(method string, operation *Operation) + type Paths struct + Extensions map[string]any + Origin *Origin + func NewPaths() *Paths + func (paths *Paths) Delete(key string) + func (paths *Paths) Find(key string) *PathItem + func (paths *Paths) Keys() []string + func (paths *Paths) Len() int + func (paths *Paths) Map() map[string]*PathItem + func (paths *Paths) Set(key string, value *PathItem) + func (paths *Paths) Value(key string) *PathItem + type RequestBodies map[string]*RequestBodyRef + type RequestBody struct + Content Content + Description string + Extensions map[string]any + Origin *Origin + Required bool + type RequestBodyRef struct + Description *string + Extensions map[string]any + Origin *Origin + Ref string + Summary *string + Value *RequestBody + type Response struct + Content Content + Description *string + Extensions map[string]any + Headers Headers + Links Links + Origin *Origin + type ResponseBodies map[string]*ResponseRef + type ResponseRef struct + Description *string + Extensions map[string]any + Origin *Origin + Ref string + Summary *string + Value *Response + type Responses struct + Extensions map[string]any + Origin *Origin + func NewResponses() *Responses + func (responses *Responses) Default() *ResponseRef + func (responses *Responses) Delete(key string) + func (responses *Responses) Keys() []string + func (responses *Responses) Len() int + func (responses *Responses) Map() map[string]*ResponseRef + func (responses *Responses) Set(key string, value *ResponseRef) + func (responses *Responses) Status(status int) *ResponseRef + func (responses *Responses) Value(key string) *ResponseRef + type Schema struct + AdditionalProperties AdditionalProperties + AllOf SchemaRefs + AllowEmptyValue bool + Always *bool + Anchor string + AnyOf SchemaRefs + Comment string + Const any + Contains *SchemaRef + ContentEncoding string + ContentMediaType string + ContentSchema *SchemaRef + Default any + Defs Schemas + DependentRequired map[string][]string + DependentSchemas Schemas + Deprecated bool + Description string + Discriminator *Discriminator + DynamicAnchor string + DynamicRef string + Else *SchemaRef + Enum []any + Example any + Examples []any + ExclusiveMax ExclusiveBound + ExclusiveMin ExclusiveBound + Extensions map[string]any + ExternalDocs *ExternalDocs + Format string + If *SchemaRef + Items *SchemaRef + Max *float64 + MaxContains *uint64 + MaxItems *uint64 + MaxLength *uint64 + MaxProps *uint64 + Min *float64 + MinContains *uint64 + MinItems uint64 + MinLength uint64 + MinProps uint64 + MultipleOf *float64 + Not *SchemaRef + Nullable bool + OneOf SchemaRefs + Origin *Origin + Pattern string + PatternProperties Schemas + PrefixItems SchemaRefs + Properties Schemas + PropertyNames *SchemaRef + ReadOnly bool + Required []string + SchemaDialect string + SchemaID string + Then *SchemaRef + Title string + Type *Types + UnevaluatedItems BoolSchema + UnevaluatedProperties BoolSchema + UniqueItems bool + WriteOnly bool + XML *XML + func NewObjectSchema() *Schema + func NewSchema() *Schema + func NewStringSchema() *Schema + func (schema *Schema) NewRef() *SchemaRef + func (schema *Schema) WithAnyAdditionalProperties() *Schema + func (schema *Schema) WithEnum(values ...any) *Schema + func (schema *Schema) WithMaxLength(i int64) *Schema + func (schema *Schema) WithProperty(name string, propertySchema *Schema) *Schema + func (schema *Schema) WithPropertyRef(name string, ref *SchemaRef) *Schema + func (schema *Schema) WithoutAdditionalProperties() *Schema + type SchemaRef struct + Extensions map[string]any + Origin *Origin + Ref string + Value *Schema + func NewSchemaRef(ref string, value *Schema) *SchemaRef + type SchemaRefs []*SchemaRef + type Schemas map[string]*SchemaRef + type SecurityRequirement map[string][]string + type SecurityRequirements []SecurityRequirement + type SecurityScheme struct + BearerFormat string + Description string + Extensions map[string]any + In string + Name string + OpenIdConnectUrl string + Origin *Origin + Scheme string + Type string + type SecuritySchemeRef struct + Description *string + Extensions map[string]any + Origin *Origin + Ref string + Summary *string + Value *SecurityScheme + type SecuritySchemes map[string]*SecuritySchemeRef + type Server struct + Description string + Extensions map[string]any + Origin *Origin + URL string + Variables ServerVariables + type ServerVariable struct + Default string + Description string + Enum []string + Extensions map[string]any + Origin *Origin + type ServerVariables map[string]*ServerVariable + type Servers []*Server + type Tag struct + Description string + Extensions map[string]any + ExternalDocs *ExternalDocs + Name string + Origin *Origin + type Tags []*Tag + type Types []string + func (types *Types) Includes(typ string) bool + func (types *Types) Is(typ string) bool + func (types *Types) Permits(typ string) bool + func (types *Types) Slice() []string + type XML struct + Attribute bool + Extensions map[string]any + Name string + Namespace string + Origin *Origin + Prefix string + Wrapped bool