Versions in this module Expand all Collapse all v1 v1.0.2 Oct 9, 2026 v1.0.1 Oct 9, 2026 v1.0.0 Oct 9, 2026 Changes in this version + const InCookie + const InHeader + const InPath + const InQuery + const InQueryString + var MethodOrder = []string + func DeriveOperationID(method, path string) string + func StatusCode(status string) (int, bool) + type Additional struct + Mode AdditionalMode + Schema *Schema + type AdditionalMode int + const AdditionalAllowed + const AdditionalDenied + const AdditionalSchema + const AdditionalUnset + type Bound struct + Exclusive bool + Value json.Number + type Callback struct + Name string + Operations []*Operation + Ref *ComponentRef + type ComponentRef struct + Name string + Pointer string + type Components struct + Headers []Named[*Header] + Parameters []Named[*Parameter] + RequestBodies []Named[*RequestBody] + Responses []Named[*Response] + Schemas []Named[*Schema] + SecuritySchemes []*SecurityScheme + type Discriminator struct + Default *Ref + Mapping []Mapping + Property string + type Document struct + Components Components + Extensions []Extension + Info Info + Operations []*Operation + Security []SecurityRequirement + Servers []Server + Version Version + Webhooks []*Operation + type Encoding struct + AllowReserved bool + ContentType string + Explode *bool + Headers []*Header + Name string + Style string + type Extension struct + Name string + Value Value + type Field struct + Name string + Value Value + type Header struct + Contents []*MediaType + Deprecated bool + Description string + Explode bool + Extensions []Extension + Name string + Origin Origin + Ref *ComponentRef + Required bool + Schema *Schema + Style string + type Info struct + Description string + Extensions []Extension + Summary string + Title string + Version string + type Limits struct + MaxItems *int64 + MaxLength *int64 + MaxProperties *int64 + Maximum *Bound + MinItems *int64 + MinLength *int64 + MinProperties *int64 + Minimum *Bound + MultipleOf *json.Number + UniqueItems bool + type Mapping struct + Ref *Ref + Value string + type MediaType struct + Encodings []*Encoding + Extensions []Extension + ItemSchema *Schema + Name string + Origin Origin + Schema *Schema + type Named struct + Name string + Value T + type OAuthFlow struct + AuthorizationURL string + Kind string + RefreshURL string + Scopes []Scope + TokenURL string + type Operation struct + Body *RequestBody + Callbacks []*Callback + Deprecated bool + Description string + Extensions []Extension + ID string + IsIDDerived bool + IsWebhook bool + Method string + Origin Origin + Params []*Parameter + Path string + Responses []*Response + Security []SecurityRequirement + Servers []Server + Summary string + Tags []string + type Origin struct + Col int + File string + Line int + Pointer string + type Parameter struct + AllowEmptyValue bool + AllowReserved bool + Contents []*MediaType + Deprecated bool + Description string + Explode bool + Extensions []Extension + In string + Name string + Origin Origin + Ref *ComponentRef + Required bool + Schema *Schema + Style string + type Property struct + Name string + Required bool + Schema *Schema + type Ref struct + Name string + Pointer string + Target *Schema + type RequestBody struct + Contents []*MediaType + Description string + Extensions []Extension + Origin Origin + Ref *ComponentRef + Required bool + type RequiredScheme struct + Name string + Scopes []string + type Response struct + Contents []*MediaType + Description string + Extensions []Extension + Headers []*Header + Origin Origin + Ref *ComponentRef + Status string + type Schema struct + AdditionalProperties Additional + AllOf []*Schema + AnyOf []*Schema + Const *Value + ContentEncoding string + ContentMediaType string + Default *Value + Deprecated bool + Description string + Discriminator *Discriminator + Else *Schema + Enum []Value + Examples []Value + Extensions []Extension + Format string + If *Schema + Items *Schema + Limits Limits + Not *Schema + Nullable bool + OneOf []*Schema + Origin Origin + Pattern string + PrefixItems []*Schema + Properties []*Property + PropertyNames *Schema + ReadOnly bool + Ref *Ref + Required []string + Then *Schema + Title string + Types TypeSet + WriteOnly bool + type Scope struct + Description string + Name string + type SecurityRequirement struct + Schemes []RequiredScheme + type SecurityScheme struct + BearerFormat string + Deprecated bool + Description string + Extensions []Extension + Flows []OAuthFlow + In string + Name string + OAuth2MetadataURL string + OpenIDConnectURL string + Origin Origin + ParamName string + Scheme string + Type string + type Server struct + Description string + Name string + URL string + Variables []ServerVariable + type ServerVariable struct + Default string + Description string + Enum []string + Name string + type TypeSet uint8 + const TypeArray + const TypeBoolean + const TypeInteger + const TypeNull + const TypeNumber + const TypeObject + const TypeString + func (t TypeSet) Has(other TypeSet) bool + type Value struct + Bool bool + Fields []Field + Items []Value + Kind ValueKind + Num json.Number + Str string + type ValueKind int + const KindArray + const KindBool + const KindNull + const KindNumber + const KindObject + const KindString + type Version int + const V30 + const V31 + const V32 + func (v Version) String() string