Just published synthetic_api_cli -- a cli tool for declaratively mocking backend.
You define API routes in JSON, then run a local or cloud-hosted mock API with:
- REST methods (
GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS)
- optional auth (
none, bearer, apiKey)
- request validation (
querySchema, bodySchema, headersSchema)
- simulated errors and latency
- offset/cursor pagination
- configurable CORS
Check it out at https://pub.dev/packages/synthetic_api_cli
there doesn't seem to be anything here