[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-80480":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":12,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":13,"forks30d":13,"starsTrendScore":16,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":21,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":42,"readmeContent":43,"aiSummary":44,"trendingCount":13,"starSnapshotCount":13,"syncStatus":45,"lastSyncTime":46,"discoverSource":47},80480,"mockzilla","mockzilla\u002Fmockzilla","Open-source OpenAPI mock server with cloud hosting and local modes for development, testing, and CI. Generates realistic API responses from specs with latency simulation, error injection, proxy fallback, and request validation. Validated against 2,200+ real-world OpenAPI specs.","https:\u002F\u002Fmockzilla.org\u002F",null,"Go",85,1,0,3,4,9,0.9,"MIT License",false,"main",true,[23,24,25,26,27,28,29,30,31,32,33,34,35,5,36,37,38,39,40,41],"api-management","api-simulation","api-testing","ci-cd","code-generation","contract-testing","developer-tools","golang","integration-testing","latency-testing","learning","mock","mock-server","open-source","openapi","openapi3","openapi31","proxy-server","request-validation","2026-06-12 02:04:02","\u003Cp align=\"center\">\r\n  \u003Cimg\r\n    src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fmockzilla\u002Fmockzilla\u002Fmain\u002Fresources\u002Fdocs\u002Fimages\u002Fgotham.svg\"\r\n    alt=\"Mockzilla open-source API mock server built with Go\"\r\n    width=\"300\"\r\n  \u002F>\r\n\u003C\u002Fp>\r\n\r\n## Mockzilla\r\n\r\n[![CI](https:\u002F\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg?branch=main)](https:\u002F\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla\u002Factions\u002Fworkflows\u002Fci.yml?query=branch%3Amain)\r\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fmockzilla\u002Fmockzilla\u002Fgraph\u002Fbadge.svg?token=XGCEHYUDH0)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fmockzilla\u002Fmockzilla)\r\n[![GoReportCard](https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla\u002Fv2)](https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla\u002Fv2)\r\n[![Go Reference](https:\u002F\u002Fpkg.go.dev\u002Fbadge\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla\u002Fv2.svg)](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla\u002Fv2)\r\n[![mockzilla](https:\u002F\u002Fsnapcraft.io\u002Fmockzilla\u002Fbadge.svg)](https:\u002F\u002Fsnapcraft.io\u002Fmockzilla)\r\n[![License](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fmockzilla\u002Fmockzilla?cacheSeconds=3600)](https:\u002F\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla\u002Fblob\u002Fmain\u002FLICENSE)\r\n\r\n\r\n**Mockzilla** is an open-source mock server for OpenAPI specifications, validated against 2,200+ real-world OpenAPI specifications across 98,000+ endpoints. Point it at a spec and get a running API mock server in seconds - no code, no configuration, no separate infrastructure. It generates realistic responses from your schema, validates incoming requests against the spec, and can proxy real backends with automatic mock fallback so you can mix real and mocked endpoints in the same server. Use it locally during development, in CI pipelines for integration testing, or embed specs into a portable binary for offline and air-gapped environments.\r\n\r\n## Goals\r\n- Generate realistic mock APIs directly from OpenAPI specs, not a custom DSL.\r\n- Combine multiple third-party APIs into a single local mock server.\r\n- Catch contract drift early by validating every request against the spec.\r\n\r\n## Features\r\n- **Multiple APIs** on one server - each spec becomes a service with its own URL prefix\r\n- **Upstream proxy** - forward to real backends with fallback to mocks\r\n- **Latency & error simulation** - test how your app handles delays and failures\r\n- **Custom middleware** - modify requests\u002Fresponses on the fly\r\n- **Response caching** - cache GET responses for consistency\r\n- **Request validation** - validate against OpenAPI spec\r\n- **Static responses** - define custom responses for any path outside your OpenAPI spec\r\n- **Selective overrides** - override specific endpoints with static responses or custom handlers while the rest of the OpenAPI spec stays auto‑generated\r\n\r\n## Real-World Validation\r\n\r\nMockzilla continuously generates and validates data against **2,200+ real-world OpenAPI specifications**:\r\n\r\n```\r\nTotal: 2215 services, 98464 endpoints\r\n✅ Success: 98464  ❌ Fails: 0\r\n```\r\n\r\n## Modes\r\n\r\nMockzilla runs in two modes:\r\n\r\n- **[Portable](https:\u002F\u002Fmockzilla.github.io\u002Fmockzilla\u002Fusage\u002Fportable\u002F)** - point at OpenAPI specs and run. No code generation, no setup.\r\n- **[Codegen](https:\u002F\u002Fmockzilla.github.io\u002Fmockzilla\u002Fusage\u002Fcodegen\u002F)** - generate typed Go handlers with custom logic and middleware.\r\n\r\n## Use cases\r\n\r\n- **Local development** - mock APIs your backend hasn't built yet\r\n- **CI\u002FCD integration testing** - zero external dependencies in your pipeline\r\n- **PSP and payment API mocking** - Stripe, PayPal, Adyen without sandbox accounts\r\n- **Crypto exchange API mocking** - Binance, Bybit without registered accounts\r\n- **Rate limit protection** - develop against OpenAI, Twilio without burning quota\r\n- **Multi-service testing** - run Stripe + Twilio + SendGrid on one port\r\n- **Offline and air-gapped environments** - embed specs into a portable binary, no internet required\r\n- **Selective endpoint overrides** - keep hundreds of endpoints auto-generated and hand-craft the few that need custom behavior\r\n\r\n## Quick Start\r\n\r\n### Homebrew\r\n\r\n```bash\r\nbrew tap mockzilla\u002Ftap\r\nbrew install mockzilla\r\nmockzilla https:\u002F\u002Fpetstore3.swagger.io\u002Fapi\u002Fv3\u002Fopenapi.json\r\n```\r\n\r\n### Go\r\n\r\n```bash\r\ngo run github.com\u002Fmockzilla\u002Fmockzilla\u002Fv2\u002Fcmd\u002Fmockzilla@latest \\\r\n  https:\u002F\u002Fpetstore3.swagger.io\u002Fapi\u002Fv3\u002Fopenapi.json\r\n```\r\n\r\n### Templates\r\n\r\n- [Portable template](https:\u002F\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla-portable-template) - embed specs into a single binary via `go:embed`\r\n- [Codegen template](https:\u002F\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla-codegen-template) - generate Go handlers with custom logic and middleware\r\n\r\nRead full documentation at [mockzilla.github.io\u002Fmockzilla](https:\u002F\u002Fmockzilla.github.io\u002Fmockzilla\u002F).\r\n\r\n## Mockzilla Cloud\r\n\r\nIf you need per-PR simulation URLs, team-shared stable endpoints, or zero-config GitHub Action setup without running your own server, [mockzilla.org](https:\u002F\u002Fmockzilla.org) is the hosted version built on the same engine.\r\n\r\n## AI and MCP tooling\r\n\r\nMockzilla ships an [MCP server](https:\u002F\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla-mcp), so AI tools like Claude Code, Cursor, and Gemini CLI can launch mock APIs directly from any OpenAPI definition. Point the agent at a spec and it spins up a Mockzilla server under the hood, letting you iterate on client code or integration tests without leaving the editor.\r\n\r\n## Related\r\n- [mockzilla.org](https:\u002F\u002Fmockzilla.org) - hosted API simulation, per-PR mock URLs, GitHub Actions integration\r\n- [Documentation](https:\u002F\u002Fmockzilla.github.io\u002Fmockzilla\u002F) - full usage guide for portable and codegen modes\r\n- [OpenAPI Specification](https:\u002F\u002Feditor.swagger.io\u002F?url=https:\u002F\u002Fraw.githubusercontent.com\u002Fmockzilla\u002Fmockzilla\u002Fmain\u002Fresources\u002Fopenapi.yml) - interactive Swagger UI for the Mockzilla API\r\n\r\n## License\r\n\r\nCopyright © 2023-present\r\n\r\nLicensed under the [MIT License](https:\u002F\u002Fgithub.com\u002Fmockzilla\u002Fmockzilla\u002Fblob\u002Fmain\u002FLICENSE)","Mockzilla是一个基于OpenAPI规范的开源模拟服务器，支持云托管和本地模式，适用于开发、测试及持续集成环境。它能够根据API规范生成真实的响应数据，并具备延迟模拟、错误注入、代理回退以及请求验证等功能，已在2200多个实际OpenAPI规范中得到验证。项目采用Go语言编写，具有高可靠性和良好的性能表现。适合在需要对API进行快速原型设计、功能测试或是集成测试时使用，特别是在微服务架构下的合同测试场景中尤为适用。",2,"2026-06-11 04:00:54","CREATED_QUERY"]