Files
mockly-hono/routes/__test/tpl/list.json
T
Peter Meier b122de518c 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>
2026-06-23 12:44:31 +02:00

9 lines
370 B
JSON

{
"feature": "array of templated objects — each element resolves independently",
"users": [
{ "id": 1, "name": "{{faker.person.fullName}}", "city": "{{faker.location.city}}" },
{ "id": 2, "name": "{{faker.person.fullName}}", "city": "{{faker.location.city}}" },
{ "id": 3, "name": "{{faker.person.fullName}}", "city": "{{faker.location.city}}" }
]
}