Skip to content

First stable release

Choose a tag to compare

@jbn2336mz jbn2336mz released this 09 Oct 09:23
· 4 commits to main since this release
d0eacd4

mockzilla-codegen generates Go models, HTTP servers, clients and MCP tools from OpenAPI 3.0, 3.1 and 3.2 specs.

  • Works on real specs: Stripe, GitHub, OpenAI, Adyen and 2,200+ other real-world specs generate, build and run.
  • Unions, allOf, every parameter style OpenAPI defines, and JSON, form and multipart bodies.
  • Idiomatic Go: a named type for every inline object, pointers only where a value can be missing, validation in plain Go.
  • Generated code needs only the standard library, your router and a small runtime.
  • 14 routers, net/http's ServeMux among them, plus a client and MCP tools from the same spec.

Install:

go install github.com/mockzilla/mockzilla-codegen/cmd/mockzilla-codegen@v1.0.0

Start with docs/getting-started.md.

Coming from another Go generator? docs/migration.md has a guide.