Versions in this module Expand all Collapse all v0 v0.34.0 May 26, 2026 Changes in this version + const ErrItems + func ParseArrayTypes(taggers []parsers.TagParser, name string, expr ast.Expr, items *spec.Items, ...) ([]parsers.TagParser, error) + func Taggers(items *spec.Items, level int) []parsers.TagParser + type Typable struct + func NewTypable(items *oaispec.Items, level int, in string) Typable + func (pt Typable) AddExtension(key string, value any) + func (pt Typable) In() string + func (pt Typable) Items() ifaces.SwaggerTypable + func (pt Typable) Level() int + func (pt Typable) Schema() *oaispec.Schema + func (pt Typable) SetRef(ref oaispec.Ref) + func (pt Typable) Typed(tpe, format string) + func (pt Typable) WithEnum(values ...any) + func (pt Typable) WithEnumDescription(_ string) + type Validations struct + func (sv Validations) SetCollectionFormat(val string) + func (sv Validations) SetDefault(val any) + func (sv Validations) SetEnum(val string) + func (sv Validations) SetExample(val any) + func (sv Validations) SetMaxItems(val int64) + func (sv Validations) SetMaxLength(val int64) + func (sv Validations) SetMaximum(val float64, exclusive bool) + func (sv Validations) SetMinItems(val int64) + func (sv Validations) SetMinLength(val int64) + func (sv Validations) SetMinimum(val float64, exclusive bool) + func (sv Validations) SetMultipleOf(val float64) + func (sv Validations) SetPattern(val string) + func (sv Validations) SetUnique(val bool)