Versions in this module Expand all Collapse all v1 v1.2.0 Aug 26, 2025 v1.1.0 May 31, 2025 Changes in this version + type MapKeyMustBeStringError struct + KeyType reflect.Kind + Location string + func NewMapKeyMustBeStringError(location string, keyType reflect.Kind) *MapKeyMustBeStringError + func (e *MapKeyMustBeStringError) Error() string + func (e *MapKeyMustBeStringError) Is(target error) bool + type ParseOption func(*parseOptions) + func WithDefaultEncoding(v string) ParseOption + type SchemaBuilder struct + func ParseObject(obj any, components *Extendable[Components], opts ...ParseOption) (*SchemaBuilder, error) + func (b *SchemaBuilder) AddAllOf(v ...*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) AddAnyOf(v ...*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) AddDef(name string, value *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) AddDependentRequired(name string, value ...string) *SchemaBuilder + func (b *SchemaBuilder) AddDependentSchema(name string, value *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) AddEnum(v ...any) *SchemaBuilder + func (b *SchemaBuilder) AddExamples(v ...any) *SchemaBuilder + func (b *SchemaBuilder) AddExt(name string, value any) *SchemaBuilder + func (b *SchemaBuilder) AddOneOf(v ...*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) AddPatternProperty(name string, value *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) AddPrefixItems(v ...*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) AddProperty(name string, value *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) AddRequired(v ...string) *SchemaBuilder + func (b *SchemaBuilder) AddType(v ...string) *SchemaBuilder + func (b *SchemaBuilder) AddVocabulary(name string, value bool) *SchemaBuilder + func (b *SchemaBuilder) AdditionalProperties(v *BoolOrSchema) *SchemaBuilder + func (b *SchemaBuilder) AllOf(v ...*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) AnyOf(v ...*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) Build() *RefOrSpec[Schema] + func (b *SchemaBuilder) Comment(v string) *SchemaBuilder + func (b *SchemaBuilder) Const(v string) *SchemaBuilder + func (b *SchemaBuilder) Contains(v *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) ContentEncoding(v string) *SchemaBuilder + func (b *SchemaBuilder) ContentMediaType(v string) *SchemaBuilder + func (b *SchemaBuilder) ContentSchema(v *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) Default(v any) *SchemaBuilder + func (b *SchemaBuilder) Defs(v map[string]*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) DependentRequired(v map[string][]string) *SchemaBuilder + func (b *SchemaBuilder) DependentSchemas(v map[string]*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) Deprecated(v bool) *SchemaBuilder + func (b *SchemaBuilder) Description(v string) *SchemaBuilder + func (b *SchemaBuilder) Discriminator(v *Discriminator) *SchemaBuilder + func (b *SchemaBuilder) DynamicAnchor(v string) *SchemaBuilder + func (b *SchemaBuilder) DynamicRef(v string) *SchemaBuilder + func (b *SchemaBuilder) Else(v *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) Enum(v ...any) *SchemaBuilder + func (b *SchemaBuilder) Example(v any) *SchemaBuilder + func (b *SchemaBuilder) Examples(v ...any) *SchemaBuilder + func (b *SchemaBuilder) ExclusiveMaximum(v int) *SchemaBuilder + func (b *SchemaBuilder) ExclusiveMinimum(v int) *SchemaBuilder + func (b *SchemaBuilder) Extensions(v map[string]any) *SchemaBuilder + func (b *SchemaBuilder) ExternalDocs(v *Extendable[ExternalDocs]) *SchemaBuilder + func (b *SchemaBuilder) Format(v string) *SchemaBuilder + func (b *SchemaBuilder) GoPackage(v string) *SchemaBuilder + func (b *SchemaBuilder) GoType(v string) *SchemaBuilder + func (b *SchemaBuilder) ID(v string) *SchemaBuilder + func (b *SchemaBuilder) If(v *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) IsRef() bool + func (b *SchemaBuilder) Items(v *BoolOrSchema) *SchemaBuilder + func (b *SchemaBuilder) MaxContains(v int) *SchemaBuilder + func (b *SchemaBuilder) MaxItems(v int) *SchemaBuilder + func (b *SchemaBuilder) MaxLength(v int) *SchemaBuilder + func (b *SchemaBuilder) MaxProperties(v int) *SchemaBuilder + func (b *SchemaBuilder) Maximum(v int) *SchemaBuilder + func (b *SchemaBuilder) MinContains(v int) *SchemaBuilder + func (b *SchemaBuilder) MinItems(v int) *SchemaBuilder + func (b *SchemaBuilder) MinLength(v int) *SchemaBuilder + func (b *SchemaBuilder) MinProperties(v int) *SchemaBuilder + func (b *SchemaBuilder) Minimum(v int) *SchemaBuilder + func (b *SchemaBuilder) MultipleOf(v int) *SchemaBuilder + func (b *SchemaBuilder) Not(v *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) OneOf(v ...*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) Pattern(v string) *SchemaBuilder + func (b *SchemaBuilder) PatternProperties(v map[string]*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) PrefixItems(v ...*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) Properties(v map[string]*RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) PropertyNames(v *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) ReadOnly(v bool) *SchemaBuilder + func (b *SchemaBuilder) Ref(v string) *SchemaBuilder + func (b *SchemaBuilder) Required(v ...string) *SchemaBuilder + func (b *SchemaBuilder) Schema(v string) *SchemaBuilder + func (b *SchemaBuilder) Then(v *RefOrSpec[Schema]) *SchemaBuilder + func (b *SchemaBuilder) Title(v string) *SchemaBuilder + func (b *SchemaBuilder) Type(v ...string) *SchemaBuilder + func (b *SchemaBuilder) UnevaluatedItems(v *BoolOrSchema) *SchemaBuilder + func (b *SchemaBuilder) UnevaluatedProperties(v *BoolOrSchema) *SchemaBuilder + func (b *SchemaBuilder) UniqueItems(v bool) *SchemaBuilder + func (b *SchemaBuilder) Vocabulary(v map[string]bool) *SchemaBuilder + func (b *SchemaBuilder) WriteOnly(v bool) *SchemaBuilder + func (b *SchemaBuilder) XML(v *Extendable[XML]) *SchemaBuilder v1.0.1 May 18, 2025 v1.0.0 May 18, 2025 Changes in this version + const ArrayType + const Base16Encoding + const Base32Encoding + const Base64Encoding + const BinaryEncoding + const BooleanType + const DateFormat + const DateTimeFormat + const DoubleFormat + const Draft202012 + const DurationFormat + const EightBitEncoding + const EmailFormat + const ExtensionPrefix + const FloatFormat + const HostnameFormat + const IDNEmailFormat + const IDNHostnameFormat + const IPv4Format + const IPv6Format + const IRIFormat + const IRIReferenceFormat + const InCookie + const InHeader + const InPath + const InQuery + const Int32Format + const Int64Format + const IntegerType + const JsonPointerFormat + const NullType + const NumberType + const ObjectType + const PasswordFormat + const QuotedPrintableEncoding + const RegexFormat + const RelativeJsonPointerFormat + const ReservedCharacters + const SevenBitEncoding + const StringType + const StyleDeepObject + const StyleForm + const StyleLabel + const StyleMatrix + const StylePipeDelimited + const StyleSimple + const StyleSpaceDelimited + const TimeFormat + const TypeApiKey + const TypeHTTP + const TypeMutualTLS + const TypeOAuth2 + const TypeOpenIDConnect + const URIFormat + const URIReferenceFormat + const URITemplateFormat + const UUIDFormat + var ErrExtensionNameMustStartWithPrefix = errors.New("extension name must start with `" + ExtensionPrefix + "`") + var ErrMutuallyExclusive = errors.New("mutually exclusive") + var ErrRequired = errors.New("required") + var ErrUnused = errors.New("unused") + var PathNamePattern = regexp.MustCompile(`[^/#?]+$`) + var ResponseCodePattern = regexp.MustCompile(`^[1-5](?:\d{2}|XX)$`) + func ConvertToJSON(value any) (any, error) + func GetType(v any) (string, error) + func NewSpecNotFoundError(message string, visitedObjects visitedObjects) error + func NewUnsupportedSpecTypeError(spec any) error + func NewUnsupportedTypeError(v reflect.Kind) error + func NewUnsupportedVersionError(version string) error + type BoolOrSchema struct + Allowed bool + Schema *RefOrSpec[Schema] + func NewBoolOrSchema(v any) *BoolOrSchema + func (o *BoolOrSchema) MarshalJSON() ([]byte, error) + func (o *BoolOrSchema) MarshalYAML() (any, error) + func (o *BoolOrSchema) UnmarshalJSON(data []byte) error + func (o *BoolOrSchema) UnmarshalYAML(node *yaml.Node) error + type Callback struct + Paths map[string]*RefOrSpec[Extendable[PathItem]] + func (o *Callback) Add(expression string, item *RefOrSpec[Extendable[PathItem]]) *Callback + func (o *Callback) MarshalJSON() ([]byte, error) + func (o *Callback) MarshalYAML() (any, error) + func (o *Callback) UnmarshalJSON(data []byte) error + func (o *Callback) UnmarshalYAML(node *yaml.Node) error + type CallbackBuilder struct + func NewCallbackBuilder() *CallbackBuilder + func (b *CallbackBuilder) AddExt(name string, value any) *CallbackBuilder + func (b *CallbackBuilder) AddPathItem(expression string, item *RefOrSpec[Extendable[PathItem]]) *CallbackBuilder + func (b *CallbackBuilder) Build() *RefOrSpec[Extendable[Callback]] + func (b *CallbackBuilder) Extensions(v map[string]any) *CallbackBuilder + func (b *CallbackBuilder) Paths(paths map[string]*RefOrSpec[Extendable[PathItem]]) *CallbackBuilder + type Components struct + Callbacks map[string]*RefOrSpec[Extendable[Callback]] + Examples map[string]*RefOrSpec[Extendable[Example]] + Headers map[string]*RefOrSpec[Extendable[Header]] + Links map[string]*RefOrSpec[Extendable[Link]] + Parameters map[string]*RefOrSpec[Extendable[Parameter]] + Paths map[string]*RefOrSpec[Extendable[PathItem]] + RequestBodies map[string]*RefOrSpec[Extendable[RequestBody]] + Responses map[string]*RefOrSpec[Extendable[Response]] + Schemas map[string]*RefOrSpec[Schema] + SecuritySchemes map[string]*RefOrSpec[Extendable[SecurityScheme]] + func (o *Components) Add(name string, v any) *Components + type Contact struct + Email string + Name string + URL string + type ContactBuilder struct + func NewContactBuilder() *ContactBuilder + func (b *ContactBuilder) AddExt(name string, value any) *ContactBuilder + func (b *ContactBuilder) Build() *Extendable[Contact] + func (b *ContactBuilder) Email(v string) *ContactBuilder + func (b *ContactBuilder) Extensions(v map[string]any) *ContactBuilder + func (b *ContactBuilder) Name(v string) *ContactBuilder + func (b *ContactBuilder) URL(v string) *ContactBuilder + type Discriminator struct + Mapping map[string]string + PropertyName string + type DiscriminatorBuilder struct + func NewDiscriminatorBuilder() *DiscriminatorBuilder + func (b *DiscriminatorBuilder) AddMapping(name, value string) *DiscriminatorBuilder + func (b *DiscriminatorBuilder) Build() *Discriminator + func (b *DiscriminatorBuilder) Mapping(v map[string]string) *DiscriminatorBuilder + func (b *DiscriminatorBuilder) PropertyName(v string) *DiscriminatorBuilder + type Encoding struct + AllowReserved bool + ContentType string + Explode bool + Headers map[string]*RefOrSpec[Extendable[Header]] + Style string + type EncodingBuilder struct + func NewEncodingBuilder() *EncodingBuilder + func (b *EncodingBuilder) AddExt(name string, value any) *EncodingBuilder + func (b *EncodingBuilder) AllowReserved(v bool) *EncodingBuilder + func (b *EncodingBuilder) Build() *Extendable[Encoding] + func (b *EncodingBuilder) ContentType(v string) *EncodingBuilder + func (b *EncodingBuilder) Explode(v bool) *EncodingBuilder + func (b *EncodingBuilder) Extensions(v map[string]any) *EncodingBuilder + func (b *EncodingBuilder) Header(name string, value *RefOrSpec[Extendable[Header]]) *EncodingBuilder + func (b *EncodingBuilder) Headers(v map[string]*RefOrSpec[Extendable[Header]]) *EncodingBuilder + func (b *EncodingBuilder) Style(v string) *EncodingBuilder + type Example struct + Description string + ExternalValue string + Summary string + Value any + type ExampleBuilder struct + func NewExampleBuilder() *ExampleBuilder + func (b *ExampleBuilder) AddExt(name string, value any) *ExampleBuilder + func (b *ExampleBuilder) Build() *RefOrSpec[Extendable[Example]] + func (b *ExampleBuilder) Description(v string) *ExampleBuilder + func (b *ExampleBuilder) Extensions(v map[string]any) *ExampleBuilder + func (b *ExampleBuilder) ExternalValue(v string) *ExampleBuilder + func (b *ExampleBuilder) Summary(v string) *ExampleBuilder + func (b *ExampleBuilder) Value(v any) *ExampleBuilder + type Extendable struct + Extensions map[string]any + Spec *T + func NewComponents() *Extendable[Components] + func NewExtendable[T any](spec *T) *Extendable[T] + func NewPaths() *Extendable[Paths] + func (o *Extendable[T]) AddExt(name string, value any) *Extendable[T] + func (o *Extendable[T]) GetExt(name string) any + func (o *Extendable[T]) MarshalJSON() ([]byte, error) + func (o *Extendable[T]) MarshalYAML() (any, error) + func (o *Extendable[T]) UnmarshalJSON(data []byte) error + func (o *Extendable[T]) UnmarshalYAML(node *yaml.Node) error + type ExternalDocs struct + Description string + URL string + type ExternalDocsBuilder struct + func NewExternalDocsBuilder() *ExternalDocsBuilder + func (b *ExternalDocsBuilder) AddExt(name string, value any) *ExternalDocsBuilder + func (b *ExternalDocsBuilder) Build() *Extendable[ExternalDocs] + func (b *ExternalDocsBuilder) Description(v string) *ExternalDocsBuilder + func (b *ExternalDocsBuilder) Extensions(v map[string]any) *ExternalDocsBuilder + func (b *ExternalDocsBuilder) URL(v string) *ExternalDocsBuilder + type Header struct + Content map[string]*Extendable[MediaType] + Deprecated bool + Description string + Explode bool + Required bool + Schema *RefOrSpec[Schema] + Style string + type HeaderBuilder struct + func NewHeaderBuilder() *HeaderBuilder + func (b *HeaderBuilder) AddContent(name string, value *Extendable[MediaType]) *HeaderBuilder + func (b *HeaderBuilder) AddExt(name string, value any) *HeaderBuilder + func (b *HeaderBuilder) Build() *RefOrSpec[Extendable[Header]] + func (b *HeaderBuilder) Content(v map[string]*Extendable[MediaType]) *HeaderBuilder + func (b *HeaderBuilder) Deprecated(v bool) *HeaderBuilder + func (b *HeaderBuilder) Description(v string) *HeaderBuilder + func (b *HeaderBuilder) Explode(v bool) *HeaderBuilder + func (b *HeaderBuilder) Extensions(v map[string]any) *HeaderBuilder + func (b *HeaderBuilder) Required(v bool) *HeaderBuilder + func (b *HeaderBuilder) Schema(v *RefOrSpec[Schema]) *HeaderBuilder + func (b *HeaderBuilder) Style(v string) *HeaderBuilder + type Info struct + Contact *Extendable[Contact] + Description string + License *Extendable[License] + Summary string + TermsOfService string + Title string + Version string + type InfoBuilder struct + func NewInfoBuilder() *InfoBuilder + func (b *InfoBuilder) AddExt(name string, value any) *InfoBuilder + func (b *InfoBuilder) Build() *Extendable[Info] + func (b *InfoBuilder) Contact(v *Extendable[Contact]) *InfoBuilder + func (b *InfoBuilder) Description(v string) *InfoBuilder + func (b *InfoBuilder) Extensions(v map[string]any) *InfoBuilder + func (b *InfoBuilder) License(v *Extendable[License]) *InfoBuilder + func (b *InfoBuilder) Summary(v string) *InfoBuilder + func (b *InfoBuilder) TermsOfService(v string) *InfoBuilder + func (b *InfoBuilder) Title(v string) *InfoBuilder + func (b *InfoBuilder) Version(v string) *InfoBuilder + type License struct + Identifier string + Name string + URL string + type LicenseBuilder struct + func NewLicenseBuilder() *LicenseBuilder + func (b *LicenseBuilder) AddExt(name string, value any) *LicenseBuilder + func (b *LicenseBuilder) Build() *Extendable[License] + func (b *LicenseBuilder) Extensions(v map[string]any) *LicenseBuilder + func (b *LicenseBuilder) Identifier(v string) *LicenseBuilder + func (b *LicenseBuilder) Name(v string) *LicenseBuilder + func (b *LicenseBuilder) URL(v string) *LicenseBuilder + type Link struct + Description string + OperationID string + OperationRef string + Parameters map[string]any + RequestBody any + Server *Extendable[Server] + type LinkBuilder struct + func NewLinkBuilder() *LinkBuilder + func (b *LinkBuilder) AddExt(name string, value any) *LinkBuilder + func (b *LinkBuilder) AddParameter(name string, value any) *LinkBuilder + func (b *LinkBuilder) Build() *RefOrSpec[Extendable[Link]] + func (b *LinkBuilder) Description(v string) *LinkBuilder + func (b *LinkBuilder) Extensions(v map[string]any) *LinkBuilder + func (b *LinkBuilder) OperationID(v string) *LinkBuilder + func (b *LinkBuilder) OperationRef(v string) *LinkBuilder + func (b *LinkBuilder) Parameters(v map[string]any) *LinkBuilder + func (b *LinkBuilder) RequestBody(v any) *LinkBuilder + func (b *LinkBuilder) Server(v *Extendable[Server]) *LinkBuilder + type MediaType struct + Encoding map[string]*Extendable[Encoding] + Example any + Examples map[string]*RefOrSpec[Extendable[Example]] + Schema *RefOrSpec[Schema] + type MediaTypeBuilder struct + func NewMediaTypeBuilder() *MediaTypeBuilder + func (b *MediaTypeBuilder) AddEncoding(name string, value *Extendable[Encoding]) *MediaTypeBuilder + func (b *MediaTypeBuilder) AddExample(name string, value *RefOrSpec[Extendable[Example]]) *MediaTypeBuilder + func (b *MediaTypeBuilder) AddExt(name string, value any) *MediaTypeBuilder + func (b *MediaTypeBuilder) Build() *Extendable[MediaType] + func (b *MediaTypeBuilder) Encoding(v map[string]*Extendable[Encoding]) *MediaTypeBuilder + func (b *MediaTypeBuilder) Example(v any) *MediaTypeBuilder + func (b *MediaTypeBuilder) Examples(v map[string]*RefOrSpec[Extendable[Example]]) *MediaTypeBuilder + func (b *MediaTypeBuilder) Extensions(v map[string]any) *MediaTypeBuilder + func (b *MediaTypeBuilder) Schema(v *RefOrSpec[Schema]) *MediaTypeBuilder + type OAuthFlow struct + AuthorizationURL string + RefreshURL string + Scopes map[string]string + TokenURL string + type OAuthFlowBuilder struct + func NewOAuthFlowBuilder() *OAuthFlowBuilder + func (b *OAuthFlowBuilder) AddExt(name string, value any) *OAuthFlowBuilder + func (b *OAuthFlowBuilder) AddScope(name, value string) *OAuthFlowBuilder + func (b *OAuthFlowBuilder) AuthorizationURL(v string) *OAuthFlowBuilder + func (b *OAuthFlowBuilder) Build() *Extendable[OAuthFlow] + func (b *OAuthFlowBuilder) Extensions(v map[string]any) *OAuthFlowBuilder + func (b *OAuthFlowBuilder) RefreshURL(v string) *OAuthFlowBuilder + func (b *OAuthFlowBuilder) Scopes(v map[string]string) *OAuthFlowBuilder + func (b *OAuthFlowBuilder) TokenURL(v string) *OAuthFlowBuilder + type OAuthFlows struct + AuthorizationCode *Extendable[OAuthFlow] + ClientCredentials *Extendable[OAuthFlow] + Implicit *Extendable[OAuthFlow] + Password *Extendable[OAuthFlow] + type OAuthFlowsBuilder struct + func NewOAuthFlowsBuilder() *OAuthFlowsBuilder + func (b *OAuthFlowsBuilder) AddExt(name string, value any) *OAuthFlowsBuilder + func (b *OAuthFlowsBuilder) AuthorizationCode(v *Extendable[OAuthFlow]) *OAuthFlowsBuilder + func (b *OAuthFlowsBuilder) Build() *Extendable[OAuthFlows] + func (b *OAuthFlowsBuilder) ClientCredentials(v *Extendable[OAuthFlow]) *OAuthFlowsBuilder + func (b *OAuthFlowsBuilder) Extensions(v map[string]any) *OAuthFlowsBuilder + func (b *OAuthFlowsBuilder) Implicit(v *Extendable[OAuthFlow]) *OAuthFlowsBuilder + func (b *OAuthFlowsBuilder) Password(v *Extendable[OAuthFlow]) *OAuthFlowsBuilder + type OpenAPI struct + Components *Extendable[Components] + ExternalDocs *Extendable[ExternalDocs] + Info *Extendable[Info] + JsonSchemaDialect string + OpenAPI string + Paths *Extendable[Paths] + Security []SecurityRequirement + Servers []*Extendable[Server] + Tags []*Extendable[Tag] + WebHooks Webhooks + type OpenAPIBuilder struct + func NewOpenAPIBuilder() *OpenAPIBuilder + func (b *OpenAPIBuilder) AddComponent(name string, component any) *OpenAPIBuilder + func (b *OpenAPIBuilder) AddExt(name string, value any) *OpenAPIBuilder + func (b *OpenAPIBuilder) AddPath(path string, item *RefOrSpec[Extendable[PathItem]]) *OpenAPIBuilder + func (b *OpenAPIBuilder) AddSecurity(v ...SecurityRequirement) *OpenAPIBuilder + func (b *OpenAPIBuilder) AddServers(servers ...*Extendable[Server]) *OpenAPIBuilder + func (b *OpenAPIBuilder) AddTags(tags ...*Extendable[Tag]) *OpenAPIBuilder + func (b *OpenAPIBuilder) AddWebHook(name string, path *RefOrSpec[Extendable[PathItem]]) *OpenAPIBuilder + func (b *OpenAPIBuilder) Build() *Extendable[OpenAPI] + func (b *OpenAPIBuilder) Components(components *Extendable[Components]) *OpenAPIBuilder + func (b *OpenAPIBuilder) Extensions(v map[string]any) *OpenAPIBuilder + func (b *OpenAPIBuilder) ExternalDocs(externalDocs *Extendable[ExternalDocs]) *OpenAPIBuilder + func (b *OpenAPIBuilder) Info(info *Extendable[Info]) *OpenAPIBuilder + func (b *OpenAPIBuilder) JsonSchemaDialect(jsonSchemaDialect string) *OpenAPIBuilder + func (b *OpenAPIBuilder) OpenAPI(openAPI string) *OpenAPIBuilder + func (b *OpenAPIBuilder) Paths(paths *Extendable[Paths]) *OpenAPIBuilder + func (b *OpenAPIBuilder) Security(security ...SecurityRequirement) *OpenAPIBuilder + func (b *OpenAPIBuilder) Servers(servers ...*Extendable[Server]) *OpenAPIBuilder + func (b *OpenAPIBuilder) Tags(tags ...*Extendable[Tag]) *OpenAPIBuilder + func (b *OpenAPIBuilder) WebHooks(webHooks Webhooks) *OpenAPIBuilder + type Operation struct + Callbacks map[string]*RefOrSpec[Extendable[Callback]] + Deprecated bool + Description string + ExternalDocs *Extendable[ExternalDocs] + OperationID string + Parameters []*RefOrSpec[Extendable[Parameter]] + RequestBody *RefOrSpec[Extendable[RequestBody]] + Responses *Extendable[Responses] + Security []SecurityRequirement + Servers []*Extendable[Server] + Summary string + Tags []string + type OperationBuilder struct + func NewOperationBuilder() *OperationBuilder + func (b *OperationBuilder) AddCallback(name string, value *RefOrSpec[Extendable[Callback]]) *OperationBuilder + func (b *OperationBuilder) AddExt(name string, value any) *OperationBuilder + func (b *OperationBuilder) AddParameters(v ...*RefOrSpec[Extendable[Parameter]]) *OperationBuilder + func (b *OperationBuilder) AddSecurity(v ...SecurityRequirement) *OperationBuilder + func (b *OperationBuilder) AddServers(v ...*Extendable[Server]) *OperationBuilder + func (b *OperationBuilder) AddTags(v ...string) *OperationBuilder + func (b *OperationBuilder) Build() *Extendable[Operation] + func (b *OperationBuilder) Callbacks(v map[string]*RefOrSpec[Extendable[Callback]]) *OperationBuilder + func (b *OperationBuilder) Deprecated(v bool) *OperationBuilder + func (b *OperationBuilder) Description(v string) *OperationBuilder + func (b *OperationBuilder) Extensions(v map[string]any) *OperationBuilder + func (b *OperationBuilder) ExternalDocs(v *Extendable[ExternalDocs]) *OperationBuilder + func (b *OperationBuilder) OperationID(v string) *OperationBuilder + func (b *OperationBuilder) Parameters(v ...*RefOrSpec[Extendable[Parameter]]) *OperationBuilder + func (b *OperationBuilder) RequestBody(v *RefOrSpec[Extendable[RequestBody]]) *OperationBuilder + func (b *OperationBuilder) Security(v ...SecurityRequirement) *OperationBuilder + func (b *OperationBuilder) Servers(v ...*Extendable[Server]) *OperationBuilder + func (b *OperationBuilder) Summary(v string) *OperationBuilder + func (b *OperationBuilder) Tags(v ...string) *OperationBuilder + type Parameter struct + AllowEmptyValue bool + AllowReserved bool + Content map[string]*Extendable[MediaType] + Deprecated bool + Description string + Example any + Examples map[string]*RefOrSpec[Extendable[Example]] + Explode bool + In string + Name string + Required bool + Schema *RefOrSpec[Schema] + Style string + type ParameterBuilder struct + func NewParameterBuilder() *ParameterBuilder + func (b *ParameterBuilder) AddContent(name string, value *Extendable[MediaType]) *ParameterBuilder + func (b *ParameterBuilder) AddExample(name string, value *RefOrSpec[Extendable[Example]]) *ParameterBuilder + func (b *ParameterBuilder) AddExt(name string, value any) *ParameterBuilder + func (b *ParameterBuilder) AllowEmptyValue(v bool) *ParameterBuilder + func (b *ParameterBuilder) AllowReserved(v bool) *ParameterBuilder + func (b *ParameterBuilder) Build() *RefOrSpec[Extendable[Parameter]] + func (b *ParameterBuilder) Content(v map[string]*Extendable[MediaType]) *ParameterBuilder + func (b *ParameterBuilder) Deprecated(v bool) *ParameterBuilder + func (b *ParameterBuilder) Description(v string) *ParameterBuilder + func (b *ParameterBuilder) Example(v any) *ParameterBuilder + func (b *ParameterBuilder) Examples(v map[string]*RefOrSpec[Extendable[Example]]) *ParameterBuilder + func (b *ParameterBuilder) Explode(v bool) *ParameterBuilder + func (b *ParameterBuilder) Extensions(v map[string]any) *ParameterBuilder + func (b *ParameterBuilder) In(v string) *ParameterBuilder + func (b *ParameterBuilder) Name(v string) *ParameterBuilder + func (b *ParameterBuilder) Required(v bool) *ParameterBuilder + func (b *ParameterBuilder) Schema(v *RefOrSpec[Schema]) *ParameterBuilder + func (b *ParameterBuilder) Style(v string) *ParameterBuilder + type PathItem struct + Delete *Extendable[Operation] + Description string + Get *Extendable[Operation] + Head *Extendable[Operation] + Options *Extendable[Operation] + Parameters []*RefOrSpec[Extendable[Parameter]] + Patch *Extendable[Operation] + Post *Extendable[Operation] + Put *Extendable[Operation] + Servers []*Extendable[Server] + Summary string + Trace *Extendable[Operation] + type PathItemBuilder struct + func NewPathItemBuilder() *PathItemBuilder + func (b *PathItemBuilder) AddExt(name string, value any) *PathItemBuilder + func (b *PathItemBuilder) AddParameters(v ...*RefOrSpec[Extendable[Parameter]]) *PathItemBuilder + func (b *PathItemBuilder) AddServers(v ...*Extendable[Server]) *PathItemBuilder + func (b *PathItemBuilder) Build() *RefOrSpec[Extendable[PathItem]] + func (b *PathItemBuilder) Delete(v *Extendable[Operation]) *PathItemBuilder + func (b *PathItemBuilder) Description(v string) *PathItemBuilder + func (b *PathItemBuilder) Extensions(v map[string]any) *PathItemBuilder + func (b *PathItemBuilder) Get(v *Extendable[Operation]) *PathItemBuilder + func (b *PathItemBuilder) Head(v *Extendable[Operation]) *PathItemBuilder + func (b *PathItemBuilder) Options(v *Extendable[Operation]) *PathItemBuilder + func (b *PathItemBuilder) Parameters(v ...*RefOrSpec[Extendable[Parameter]]) *PathItemBuilder + func (b *PathItemBuilder) Patch(v *Extendable[Operation]) *PathItemBuilder + func (b *PathItemBuilder) Post(v *Extendable[Operation]) *PathItemBuilder + func (b *PathItemBuilder) Put(v *Extendable[Operation]) *PathItemBuilder + func (b *PathItemBuilder) Servers(v ...*Extendable[Server]) *PathItemBuilder + func (b *PathItemBuilder) Summary(v string) *PathItemBuilder + func (b *PathItemBuilder) Trace(v *Extendable[Operation]) *PathItemBuilder + type Paths struct + Paths map[string]*RefOrSpec[Extendable[PathItem]] + func (o *Paths) Add(path string, item *RefOrSpec[Extendable[PathItem]]) *Paths + func (o *Paths) MarshalJSON() ([]byte, error) + func (o *Paths) MarshalYAML() (any, error) + func (o *Paths) UnmarshalJSON(data []byte) error + func (o *Paths) UnmarshalYAML(node *yaml.Node) error + type Ref struct + Description string + Ref string + Summary string + type RefOrSpec struct + Ref *Ref + Spec *T + func NewRefOrExtSpec[T any](v any) *RefOrSpec[Extendable[T]] + func NewRefOrSpec[T any](v any) *RefOrSpec[T] + func (o *RefOrSpec[T]) GetSpec(c *Extendable[Components]) (*T, error) + func (o *RefOrSpec[T]) MarshalJSON() ([]byte, error) + func (o *RefOrSpec[T]) MarshalYAML() (any, error) + func (o *RefOrSpec[T]) UnmarshalJSON(data []byte) error + func (o *RefOrSpec[T]) UnmarshalYAML(node *yaml.Node) error + type RequestBody struct + Content map[string]*Extendable[MediaType] + Description string + Required bool + type RequestBodyBuilder struct + func NewRequestBodyBuilder() *RequestBodyBuilder + func (b *RequestBodyBuilder) AddContent(key string, value *Extendable[MediaType]) *RequestBodyBuilder + func (b *RequestBodyBuilder) AddExt(name string, value any) *RequestBodyBuilder + func (b *RequestBodyBuilder) Build() *RefOrSpec[Extendable[RequestBody]] + func (b *RequestBodyBuilder) Content(v map[string]*Extendable[MediaType]) *RequestBodyBuilder + func (b *RequestBodyBuilder) Description(v string) *RequestBodyBuilder + func (b *RequestBodyBuilder) Extensions(v map[string]any) *RequestBodyBuilder + func (b *RequestBodyBuilder) Required(v bool) *RequestBodyBuilder + type Response struct + Content map[string]*Extendable[MediaType] + Description string + Headers map[string]*RefOrSpec[Extendable[Header]] + Links map[string]*RefOrSpec[Extendable[Link]] + type ResponseBuilder struct + func NewResponseBuilder() *ResponseBuilder + func (b *ResponseBuilder) AddContent(key string, value *Extendable[MediaType]) *ResponseBuilder + func (b *ResponseBuilder) AddExt(name string, value any) *ResponseBuilder + func (b *ResponseBuilder) AddHeader(key string, value *RefOrSpec[Extendable[Header]]) *ResponseBuilder + func (b *ResponseBuilder) AddLink(key string, value *RefOrSpec[Extendable[Link]]) *ResponseBuilder + func (b *ResponseBuilder) Build() *RefOrSpec[Extendable[Response]] + func (b *ResponseBuilder) Content(v map[string]*Extendable[MediaType]) *ResponseBuilder + func (b *ResponseBuilder) Description(v string) *ResponseBuilder + func (b *ResponseBuilder) Extensions(v map[string]any) *ResponseBuilder + func (b *ResponseBuilder) Headers(v map[string]*RefOrSpec[Extendable[Header]]) *ResponseBuilder + func (b *ResponseBuilder) Links(v map[string]*RefOrSpec[Extendable[Link]]) *ResponseBuilder + type Responses struct + Default *RefOrSpec[Extendable[Response]] + Response map[string]*RefOrSpec[Extendable[Response]] + func (o *Responses) MarshalJSON() ([]byte, error) + func (o *Responses) MarshalYAML() (any, error) + func (o *Responses) UnmarshalJSON(data []byte) error + func (o *Responses) UnmarshalYAML(node *yaml.Node) error + type ResponsesBuilder struct + func NewResponsesBuilder() *ResponsesBuilder + func (b *ResponsesBuilder) AddExt(name string, value any) *ResponsesBuilder + func (b *ResponsesBuilder) AddResponse(key string, value *RefOrSpec[Extendable[Response]]) *ResponsesBuilder + func (b *ResponsesBuilder) Build() *RefOrSpec[Extendable[Responses]] + func (b *ResponsesBuilder) Default(v *RefOrSpec[Extendable[Response]]) *ResponsesBuilder + func (b *ResponsesBuilder) Extensions(v map[string]any) *ResponsesBuilder + func (b *ResponsesBuilder) Response(v map[string]*RefOrSpec[Extendable[Response]]) *ResponsesBuilder + type Schema struct + AdditionalProperties *BoolOrSchema + AllOf []*RefOrSpec[Schema] + AnyOf []*RefOrSpec[Schema] + Comment string + Const string + Contains *RefOrSpec[Schema] + ContentEncoding string + ContentMediaType string + ContentSchema *RefOrSpec[Schema] + Default any + Defs map[string]*RefOrSpec[Schema] + DependentRequired map[string][]string + DependentSchemas map[string]*RefOrSpec[Schema] + Deprecated bool + Description string + Discriminator *Discriminator + DynamicAnchor string + DynamicRef string + Else *RefOrSpec[Schema] + Enum []any + Example any + Examples []any + ExclusiveMaximum *int + ExclusiveMinimum *int + Extensions map[string]any + ExternalDocs *Extendable[ExternalDocs] + Format string + GoPackage string + GoType string + ID string + If *RefOrSpec[Schema] + Items *BoolOrSchema + MaxContains *int + MaxItems *int + MaxLength *int + MaxProperties *int + Maximum *int + MinContains *int + MinItems *int + MinLength *int + MinProperties *int + Minimum *int + MultipleOf *int + Not *RefOrSpec[Schema] + OneOf []*RefOrSpec[Schema] + Pattern string + PatternProperties map[string]*RefOrSpec[Schema] + PrefixItems []*RefOrSpec[Schema] + Properties map[string]*RefOrSpec[Schema] + PropertyNames *RefOrSpec[Schema] + ReadOnly bool + Required []string + Schema string + Then *RefOrSpec[Schema] + Title string + Type *SingleOrArray[string] + UnevaluatedItems *BoolOrSchema + UnevaluatedProperties *BoolOrSchema + UniqueItems *bool + Vocabulary map[string]bool + WriteOnly bool + XML *Extendable[XML] + func (o *Schema) AddExt(name string, value any) *Schema + func (o *Schema) GetExt(name string) any + func (o *Schema) MarshalJSON() ([]byte, error) + func (o *Schema) MarshalYAML() (any, error) + func (o *Schema) UnmarshalJSON(data []byte) error + func (o *Schema) UnmarshalYAML(node *yaml.Node) error + type SchemaBulder struct + func NewSchemaBuilder() *SchemaBulder + func (b *SchemaBulder) AddAllOf(v ...*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) AddAnyOf(v ...*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) AddDef(name string, value *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) AddDependentRequired(name string, value ...string) *SchemaBulder + func (b *SchemaBulder) AddDependentSchema(name string, value *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) AddEnum(v ...any) *SchemaBulder + func (b *SchemaBulder) AddExamples(v ...any) *SchemaBulder + func (b *SchemaBulder) AddExt(name string, value any) *SchemaBulder + func (b *SchemaBulder) AddOneOf(v ...*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) AddPatternProperty(name string, value *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) AddPrefixItems(v ...*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) AddProperty(name string, value *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) AddRequired(v ...string) *SchemaBulder + func (b *SchemaBulder) AddType(v ...string) *SchemaBulder + func (b *SchemaBulder) AddVocabulary(name string, value bool) *SchemaBulder + func (b *SchemaBulder) AdditionalProperties(v *BoolOrSchema) *SchemaBulder + func (b *SchemaBulder) AllOf(v ...*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) AnyOf(v ...*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) Build() *RefOrSpec[Schema] + func (b *SchemaBulder) Comment(v string) *SchemaBulder + func (b *SchemaBulder) Const(v string) *SchemaBulder + func (b *SchemaBulder) Contains(v *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) ContentEncoding(v string) *SchemaBulder + func (b *SchemaBulder) ContentMediaType(v string) *SchemaBulder + func (b *SchemaBulder) ContentSchema(v *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) Default(v any) *SchemaBulder + func (b *SchemaBulder) Defs(v map[string]*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) DependentRequired(v map[string][]string) *SchemaBulder + func (b *SchemaBulder) DependentSchemas(v map[string]*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) Deprecated(v bool) *SchemaBulder + func (b *SchemaBulder) Description(v string) *SchemaBulder + func (b *SchemaBulder) Discriminator(v *Discriminator) *SchemaBulder + func (b *SchemaBulder) DynamicAnchor(v string) *SchemaBulder + func (b *SchemaBulder) DynamicRef(v string) *SchemaBulder + func (b *SchemaBulder) Else(v *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) Enum(v ...any) *SchemaBulder + func (b *SchemaBulder) Example(v any) *SchemaBulder + func (b *SchemaBulder) Examples(v ...any) *SchemaBulder + func (b *SchemaBulder) ExclusiveMaximum(v int) *SchemaBulder + func (b *SchemaBulder) ExclusiveMinimum(v int) *SchemaBulder + func (b *SchemaBulder) Extensions(v map[string]any) *SchemaBulder + func (b *SchemaBulder) ExternalDocs(v *Extendable[ExternalDocs]) *SchemaBulder + func (b *SchemaBulder) Format(v string) *SchemaBulder + func (b *SchemaBulder) GoPackage(v string) *SchemaBulder + func (b *SchemaBulder) GoType(v string) *SchemaBulder + func (b *SchemaBulder) ID(v string) *SchemaBulder + func (b *SchemaBulder) If(v *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) IsRef() bool + func (b *SchemaBulder) Items(v *BoolOrSchema) *SchemaBulder + func (b *SchemaBulder) MaxContains(v int) *SchemaBulder + func (b *SchemaBulder) MaxItems(v int) *SchemaBulder + func (b *SchemaBulder) MaxLength(v int) *SchemaBulder + func (b *SchemaBulder) MaxProperties(v int) *SchemaBulder + func (b *SchemaBulder) Maximum(v int) *SchemaBulder + func (b *SchemaBulder) MinContains(v int) *SchemaBulder + func (b *SchemaBulder) MinItems(v int) *SchemaBulder + func (b *SchemaBulder) MinLength(v int) *SchemaBulder + func (b *SchemaBulder) MinProperties(v int) *SchemaBulder + func (b *SchemaBulder) Minimum(v int) *SchemaBulder + func (b *SchemaBulder) MultipleOf(v int) *SchemaBulder + func (b *SchemaBulder) Not(v *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) OneOf(v ...*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) Pattern(v string) *SchemaBulder + func (b *SchemaBulder) PatternProperties(v map[string]*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) PrefixItems(v ...*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) Properties(v map[string]*RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) PropertyNames(v *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) ReadOnly(v bool) *SchemaBulder + func (b *SchemaBulder) Ref(v string) *SchemaBulder + func (b *SchemaBulder) Required(v ...string) *SchemaBulder + func (b *SchemaBulder) Schema(v string) *SchemaBulder + func (b *SchemaBulder) Then(v *RefOrSpec[Schema]) *SchemaBulder + func (b *SchemaBulder) Title(v string) *SchemaBulder + func (b *SchemaBulder) Type(v ...string) *SchemaBulder + func (b *SchemaBulder) UnevaluatedItems(v *BoolOrSchema) *SchemaBulder + func (b *SchemaBulder) UnevaluatedProperties(v *BoolOrSchema) *SchemaBulder + func (b *SchemaBulder) UniqueItems(v bool) *SchemaBulder + func (b *SchemaBulder) Vocabulary(v map[string]bool) *SchemaBulder + func (b *SchemaBulder) WriteOnly(v bool) *SchemaBulder + func (b *SchemaBulder) XML(v *Extendable[XML]) *SchemaBulder + type SecurityRequirement map[string][]string + type SecurityRequirementBuilder struct + func NewSecurityRequirementBuilder() *SecurityRequirementBuilder + func (b *SecurityRequirementBuilder) Add(name string, scopes ...string) *SecurityRequirementBuilder + func (b *SecurityRequirementBuilder) Build() *SecurityRequirement + type SecurityScheme struct + BearerFormat string + Description string + Flows *Extendable[OAuthFlows] + In string + Name string + OpenIDConnectURL string + Scheme string + Type string + type SecuritySchemeBuilder struct + func NewSecuritySchemeBuilder() *SecuritySchemeBuilder + func (b *SecuritySchemeBuilder) AddExt(name string, value any) *SecuritySchemeBuilder + func (b *SecuritySchemeBuilder) BearerFormat(v string) *SecuritySchemeBuilder + func (b *SecuritySchemeBuilder) Build() *RefOrSpec[Extendable[SecurityScheme]] + func (b *SecuritySchemeBuilder) Description(v string) *SecuritySchemeBuilder + func (b *SecuritySchemeBuilder) Extensions(v map[string]any) *SecuritySchemeBuilder + func (b *SecuritySchemeBuilder) Flows(v *Extendable[OAuthFlows]) *SecuritySchemeBuilder + func (b *SecuritySchemeBuilder) In(v string) *SecuritySchemeBuilder + func (b *SecuritySchemeBuilder) Name(v string) *SecuritySchemeBuilder + func (b *SecuritySchemeBuilder) OpenIDConnectURL(v string) *SecuritySchemeBuilder + func (b *SecuritySchemeBuilder) Scheme(v string) *SecuritySchemeBuilder + func (b *SecuritySchemeBuilder) Type(v string) *SecuritySchemeBuilder + type Server struct + Description string + URL string + Variables map[string]*Extendable[ServerVariable] + type ServerBuilder struct + func NewServerBuilder() *ServerBuilder + func (b *ServerBuilder) AddExt(name string, value any) *ServerBuilder + func (b *ServerBuilder) AddVariable(name string, value *Extendable[ServerVariable]) *ServerBuilder + func (b *ServerBuilder) Build() *Extendable[Server] + func (b *ServerBuilder) Description(v string) *ServerBuilder + func (b *ServerBuilder) Extensions(v map[string]any) *ServerBuilder + func (b *ServerBuilder) URL(v string) *ServerBuilder + func (b *ServerBuilder) Variables(v map[string]*Extendable[ServerVariable]) *ServerBuilder + type ServerVariable struct + Default string + Description string + Enum []string + type ServerVariableBuilder struct + func NewServerVariableBuilder() *ServerVariableBuilder + func (b *ServerVariableBuilder) AddEnum(v ...string) *ServerVariableBuilder + func (b *ServerVariableBuilder) AddExt(name string, value any) *ServerVariableBuilder + func (b *ServerVariableBuilder) Build() *Extendable[ServerVariable] + func (b *ServerVariableBuilder) Default(v string) *ServerVariableBuilder + func (b *ServerVariableBuilder) Description(v string) *ServerVariableBuilder + func (b *ServerVariableBuilder) Enum(v ...string) *ServerVariableBuilder + func (b *ServerVariableBuilder) Extensions(v map[string]any) *ServerVariableBuilder + type SingleOrArray []T + func NewSingleOrArray[T any](v ...T) *SingleOrArray[T] + func (o *SingleOrArray[T]) Add(v ...T) *SingleOrArray[T] + func (o *SingleOrArray[T]) MarshalJSON() ([]byte, error) + func (o *SingleOrArray[T]) MarshalYAML() (any, error) + func (o *SingleOrArray[T]) UnmarshalJSON(data []byte) error + func (o *SingleOrArray[T]) UnmarshalYAML(node *yaml.Node) error + type SpecNotFoundError struct + func (e *SpecNotFoundError) Error() string + func (e *SpecNotFoundError) Is(target error) bool + type Tag struct + Description string + ExternalDocs *Extendable[ExternalDocs] + Name string + type TagBuilder struct + func NewTagBuilder() *TagBuilder + func (b *TagBuilder) AddExt(name string, value any) *TagBuilder + func (b *TagBuilder) Build() *Extendable[Tag] + func (b *TagBuilder) Description(v string) *TagBuilder + func (b *TagBuilder) Extensions(v map[string]any) *TagBuilder + func (b *TagBuilder) ExternalDocs(v *Extendable[ExternalDocs]) *TagBuilder + func (b *TagBuilder) Name(v string) *TagBuilder + type UnsupportedSpecTypeError string + func (e UnsupportedSpecTypeError) Error() string + func (e UnsupportedSpecTypeError) Is(target error) bool + type UnsupportedTypeError string + func (e UnsupportedTypeError) Error() string + func (e UnsupportedTypeError) Is(target error) bool + type UnsupportedVersionError string + func (e UnsupportedVersionError) Error() string + func (e UnsupportedVersionError) Is(err error) bool + type ValidationOption func(*validationOptions) + func AllowExtensionNameWithoutPrefix() ValidationOption + func AllowRequestBodyForDelete() ValidationOption + func AllowRequestBodyForGet() ValidationOption + func AllowRequestBodyForHead() ValidationOption + func AllowUndefinedTagsInOperation() ValidationOption + func AllowUnusedComponents() ValidationOption + func DoNotValidateDefaultValues() ValidationOption + func DoNotValidateExamples() ValidationOption + func UpdateCompiler(f func(*jsonschema.Compiler)) ValidationOption + func ValidateStringDataAsJSON() ValidationOption + type Validator struct + func NewValidator(spec *Extendable[OpenAPI], opts ...ValidationOption) (*Validator, error) + func (v *Validator) ValidateData(location string, value any) error + func (v *Validator) ValidateDataAsJSON(location string, value any) error + func (v *Validator) ValidateSpec() error + type Webhooks = map[string]*RefOrSpec[Extendable[PathItem]] + func NewWebhooks() Webhooks + type XML struct + Attribute bool + Name string + Namespace string + Prefix string + Wrapped bool + type XMLBuilder struct + func NewXMLBuilder() *XMLBuilder + func (b *XMLBuilder) AddExt(name string, value any) *XMLBuilder + func (b *XMLBuilder) Attribute(v bool) *XMLBuilder + func (b *XMLBuilder) Build() *Extendable[XML] + func (b *XMLBuilder) Extensions(v map[string]any) *XMLBuilder + func (b *XMLBuilder) Name(v string) *XMLBuilder + func (b *XMLBuilder) Namespace(v string) *XMLBuilder + func (b *XMLBuilder) Prefix(v string) *XMLBuilder + func (b *XMLBuilder) Wrapped(v bool) *XMLBuilder v0 v0.4.0 Feb 25, 2024 v0.3.1 Feb 25, 2024 v0.2.2 Jul 24, 2023 v0.2.1 Feb 23, 2023 v0.2.0 Aug 23, 2022