{"modulePath":"github.com/mockzilla/mockzilla-codegen","version":"v1.0.2","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/mockzilla/mockzilla-codegen/cmd/mockzilla-codegen","name":"main","synopsis":"Command mockzilla-codegen generates Go code from OpenAPI specs.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/bundle","name":"bundle","synopsis":"Package bundle turns a spec split over files and URLs into one document.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/diag","name":"diag","synopsis":"Package diag is how every stage reports a problem in a spec: a severity, a code, a message, and where in the spec it is.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/ecma","name":"ecma","synopsis":"Package ecma writes ECMA-262 patterns in Go's regexp syntax, keeping their ECMA-262 meaning.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/extension","name":"extension","synopsis":"Package extension reads the x-* extensions mockzilla-codegen knows into typed values.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/client","name":"client","synopsis":"Package client turns the operations of the Go model into an HTTP client: the client type with its options, the request options of every operation, the methods that call the API, and the response envelopes of the HasEnvelopes methods.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/mcp","name":"mcp","synopsis":"Package mcp turns the operations of the Go model into MCP tools that call the generated client: the tools type that registers them on a server of the official Go SDK, one tool definition and handler per operation, and the input type of every tool.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/models","name":"models","synopsis":"Package models turns the declarations of the Go model into the data its templates render.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/operation","name":"operation","synopsis":"Package operation holds what the server, the client and the MCP generators share about an operation: the fields its parameters and bodies go in, the Go type of a body, the status code a response key names, how the runtime names a parameter's style, the encoding of a form body, and the parts the types of an operation are declared in.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server","name":"server","synopsis":"Package server turns the operations of the Go model into a server: the service contract a service implements, the HTTP adapter that calls it, the router of one framework, and the scaffold files a project starts from.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework","name":"framework","synopsis":"Package framework is what the router of one HTTP framework needs from the generator, and what every framework shares.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/beego","name":"beego","synopsis":"Package beego is the router for github.com/beego/beego/v2.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/chi","name":"chi","synopsis":"Package chi is the router for github.com/go-chi/chi.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/echo","name":"echo","synopsis":"Package echo is the router for github.com/labstack/echo, whose handlers take an echo.Context and return an error.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/echov5","name":"echov5","synopsis":"Package echov5 is the router for github.com/labstack/echo/v5, whose handlers take an *echo.Context and return an error.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/fasthttp","name":"fasthttp","synopsis":"Package fasthttp is the router for github.com/fasthttp/router over github.com/valyala/fasthttp.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/fiber","name":"fiber","synopsis":"Package fiber is the router for github.com/gofiber/fiber/v3.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/gin","name":"gin","synopsis":"Package gin is the router for github.com/gin-gonic/gin.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/goframe","name":"goframe","synopsis":"Package goframe is the router for github.com/gogf/gf/v2.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/gorillamux","name":"gorillamux","synopsis":"Package gorillamux is the router for github.com/gorilla/mux.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/gozero","name":"gozero","synopsis":"Package gozero is the router for the rest package of github.com/zeromicro/go-zero: the router of its rest server, which rest.WithRouter gives one.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/hertz","name":"hertz","synopsis":"Package hertz is the router for github.com/cloudwego/hertz.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/iris","name":"iris","synopsis":"Package iris is the router for github.com/kataras/iris/v12.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/kratos","name":"kratos","synopsis":"Package kratos is the router for the HTTP transport of github.com/go-kratos/kratos/v2, whose handlers take a kratos Context and return an error.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gen/server/framework/stdhttp","name":"stdhttp","synopsis":"Package stdhttp is the router for http.ServeMux of the standard library, with its method and wildcard patterns.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gocode","name":"gocode","synopsis":"Package gocode writes Go source text: type expressions as a given file spells them, imports, comments, tags and literals, and formats the result.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/gomodel","name":"gomodel","synopsis":"Package gomodel turns the spec IR into a typed Go model: named declarations, fields, pointers, enums, maps and merged allOf schemas.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/itest","name":"itest","synopsis":"Package itest holds the parts of the integration test that can be unit tested: collecting specs, the sandbox module, running and building jobs, the result cache, known failures and the report.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/jsonschema","name":"jsonschema","synopsis":"Package jsonschema writes schemas of the spec IR as JSON Schema 2020-12 documents, the way MCP tools describe their input.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/layout","name":"layout","synopsis":"Package layout places generated parts in files and gives each folder its package name and import path.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/naming","name":"naming","synopsis":"Package naming turns spec names into Go names and settles clashes between them.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/oasdoc","name":"oasdoc","synopsis":"Package oasdoc edits an OpenAPI document as a YAML node tree, addressed by JSON pointers.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/prepare","name":"prepare","synopsis":"Package prepare turns the input spec into the one the generator reads: files bundled, overlays applied, then filtered, simplified and pruned.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/provider","name":"provider","synopsis":"Package provider is the boundary between the generator and the library that reads OpenAPI.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/provider/libopenapi","name":"libopenapi","synopsis":"Package libopenapi implements provider.Provider and is the only importer of libopenapi.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/render","name":"render","synopsis":"Package render runs the templates of every generator and puts their output together into files.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/spec","name":"spec","synopsis":"Package spec is the provider-neutral OpenAPI IR: ordered slices only, not changed after build.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/internal/transform","name":"transform","synopsis":"Package transform filters, simplifies and prunes a spec as a YAML node tree.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/pkg/cli","name":"cli","synopsis":"Package cli is the mockzilla-codegen command line, for its own binary and for programs that run it as one of their commands.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/pkg/codegen","name":"codegen","synopsis":"Package codegen generates Go models, HTTP servers, clients and MCP tools from OpenAPI specs.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/pkg/config","name":"config","synopsis":"Package config loads, checks and describes the mockzilla-codegen config file.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/pkg/runtime","name":"runtime","synopsis":"Package runtime holds the helpers generated code imports.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/pkg/runtime/httpclient","name":"httpclient","synopsis":"Package httpclient builds and sends the requests of a generated client and reads its responses.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/pkg/runtime/httpserver","name":"httpserver","synopsis":"Package httpserver holds the errors, error handlers, operation middleware and response writing of a generated server.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/pkg/runtime/mask","name":"mask","synopsis":"Package mask hides sensitive values, for logs and other output.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/pkg/runtime/mcptool","name":"mcptool","synopsis":"Package mcptool holds what generated MCP tools call: their input, result and error.","isRedistributable":true},{"path":"github.com/mockzilla/mockzilla-codegen/pkg/runtime/validation","name":"validation","synopsis":"Package validation checks values against the constraints of a spec and collects what fails.","isRedistributable":true}],"total":47}}
