feat: mockly-hono — file-based mock API server (Hono)
File path = route. JSON/JSON5, dynamic .ts handlers + faker, templating, stateful CRUD (pagination/sort/persist), __variants, sequence, chaos, rate-limit, auth, validation, per-route + global proxy/record, splat routes, X-Scenario overlays, SSE. Visual docs (Scalar) at /__docs from a live OpenAPI 3 spec. OpenAPI import script. Zero-build via tsx. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"loop": false,
|
||||
"events": [
|
||||
{ "event": "tick", "id": 1, "data": { "n": 1 }, "delay": 150 },
|
||||
{ "event": "tick", "id": 2, "data": { "n": 2 }, "delay": 150 },
|
||||
{ "event": "done", "id": 3, "data": { "n": 3, "final": true }, "delay": 150 }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user