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 BlockRouterExtra + const PartAdapter + const PartErrors + const PartRouter + const PartService + func Blocks() []string + func Frameworks() map[string]framework.Framework + func Templates(fw framework.Framework) []render.Set + type AdapterView struct + Errors string + HTTP string + HTTPServer string + Handler framework.Handler + IsRequestValidated bool + IsResponseValidated bool + JSON string + MaxMemory int64 + Operations []HandlerView + Presence *PresenceView + Rejects []RejectView + Runtime string + Service string + Validation string + type BodyView struct + Assign string + Case string + Check *PropView + Encoding string + EncodingLiteral string + Field string + IsBytes bool + IsFile bool + IsForm bool + IsJSON bool + IsMultipart bool + IsRequired bool + IsText bool + IsValue bool + Kind string + MediaType string + OperationID string + Runtime string + Target string + Type string + type CheckView struct + Field string + Path string + type Constructor struct + Body gomodel.Content + HasBody bool + HasStatusArg bool + IsStream bool + Name string + func Constructors(n *naming.Namer, op *gomodel.Operation, r gomodel.Response) []Constructor + type ConstructorView struct + Arg string + Body string + ContentType string + Doc string + HasStatusArg bool + Name string + Status string + type ErrorsView struct + HTTPServer string + type FieldView struct + Doc string + Name string + Type string + type Generator struct + func New(m *gomodel.Model, opts Options) (*Generator, []diag.Diagnostic) + func (g *Generator) Framework() framework.Framework + func (g *Generator) Interface() string + func (g *Generator) Needs() map[string]string + func (g *Generator) Parts() []layout.Part + func (g *Generator) Routes() []framework.Route + func (g *Generator) View(part layout.PartID, s *gocode.Scope) any + type GroupView struct + Field string + Params []ParamView + Type string + type HandlerView struct + Bodies []BodyView + Context string + Empty string + Errors []TypedErrorView + Groups []GroupView + HasBody bool + HasQuery bool + ID string + IsBodyRequired bool + Method string + Name string + Options string + Path string + Patterns []BodyView + QueryString *ParamView + Serve string + ServeSignature string + Tag string + Wildcards []BodyView + type HeadersView struct + Doc string + Method string + Type string + type ObjectView struct + Extra *PropView + IsClosed bool + Name string + Props []*PropView + type OperationView struct + Checks []CheckView + Constructors []ConstructorView + Data string + Doc string + Fields []FieldView + Headers []HeadersView + Method string + Name string + Options string + Path string + User map[string]any + Validation string + type Options struct + Descriptions bool + Framework framework.Framework + MultipartMaxMemory int64 + Name string + Namer *naming.Namer + Port int + RouterExtra string + Scaffold Scaffold + Timeout time.Duration + User map[string]any + ValidateRequest bool + ValidateResponse bool + type ParamView struct + Decoder string + Default string + IsExplode bool + IsJSON bool + IsRequired bool + Location string + Name string + Source string + Style string + Target string + type PresenceView struct + IsChecked bool + Objects []ObjectView + Runtime string + type PropView struct + Default string + IsNullable bool + IsRequired bool + Items *PropView + Key string + Object string + Runtime string + Values *PropView + type RejectCaseView struct + MediaType string + New string + Status int + type RejectView struct + Cases []RejectCaseView + IDs []string + type RouteView struct + HTTPMethod string + IsShortcut bool + Method string + Names []string + Operation string + Pattern string + type RouterView struct + Framework string + HTTPServer string + NewAdapter string + NewOptions string + Option string + Options string + Packages map[string]string + Routes []RouteView + Runtime string + Service string + User map[string]any + type Scaffold struct + Main bool + Middleware bool + Service bool + type ScaffoldMainView struct + Context string + Framework string + HTTP string + Middleware []string + NewRouter string + NewService string + OS string + Packages map[string]string + Port int + Signal string + Slog string + Syscall string + Timeout string + WithConfig string + WithMiddleware string + WithRouter string + type ScaffoldMiddlewareView struct + Context string + Debug string + HTTP string + Rand string + Slog string + Time string + type ScaffoldOperationView struct + Data string + Method string + Name string + Options string + Path string + User map[string]any + type ScaffoldServiceView struct + Context string + Errors string + Interface string + Name string + Operations []ScaffoldOperationView + User map[string]any + type ServiceView struct + Context string + HTTP string + Name string + Operations []OperationView + Runtime string + User map[string]any + type TypedErrorView struct + MediaType string + Status int + Type string