b122de518c
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>
10 lines
316 B
JSON
10 lines
316 B
JSON
{
|
|
"__doc": {
|
|
"summary": "Static JSON example",
|
|
"description": "Returns the file body **as-is** with status 200.\n\nThe `__doc` key adds this text to the visual docs and is stripped from the response."
|
|
},
|
|
"feature": "plain json",
|
|
"note": "file body returned as-is, status 200",
|
|
"items": [1, 2, 3]
|
|
}
|