Versions in this module Expand all Collapse all v0 v0.35.0 Jun 21, 2026 Changes in this version type Option + func WithPath(base string) Option v0.34.1 Jun 11, 2026 Changes in this version + type Option func(*options) + func OptionFor(tpe types.Type, tgt ifaces.SwaggerTypable) Option + func WithDefinitions(definitions map[string]oaispec.Schema) Option + func WithSimpleSchema(tpe types.Type, tgt ifaces.SwaggerTypable, in string) Option + func WithType(tpe types.Type, tgt ifaces.SwaggerTypable) Option + type SimpleSchemaProbe interface + HasRef func() bool + ResetForViolation func() + SimpleSchemaShape func() *oaispec.SimpleSchema v0.34.0 May 26, 2026 Changes in this version + var ErrSchema = errors.New("codescan:builders:schema") + func BodyTypable(in string, schema *oaispec.Schema, skipExt bool) (ifaces.SwaggerTypable, *oaispec.Schema) + type Builder struct + GoName string + Name string + func NewBuilder(ctx *scanner.ScanCtx, decl *scanner.EntityDecl) *Builder + func (s *Builder) Build(definitions map[string]oaispec.Schema) error + func (s *Builder) BuildFromType(tpe types.Type, tgt ifaces.SwaggerTypable) error + func (s *Builder) InferNames() + func (s *Builder) PostDeclarations() []*scanner.EntityDecl + func (s *Builder) SetDiscovered(discovered []*scanner.EntityDecl) + type Typable struct + func NewTypable(schema *oaispec.Schema, level int, skipExt bool) Typable + func (st Typable) AddExtension(key string, value any) + func (st Typable) AdditionalProperties() ifaces.SwaggerTypable + func (st Typable) In() string + func (st Typable) Items() ifaces.SwaggerTypable + func (st Typable) Level() int + func (st Typable) Schema() *oaispec.Schema + func (st Typable) SetRef(ref oaispec.Ref) + func (st Typable) Typed(tpe, format string) + func (st Typable) WithEnum(values ...any) + func (st Typable) WithEnumDescription(desc string)