flutter_mock_server 0.1.2 copy "flutter_mock_server: ^0.1.2" to clipboard
flutter_mock_server: ^0.1.2 copied to clipboard

A Flutter-focused local mock API server with a YAML-driven CLI and hot reload.

Changelog #

0.1.2 #

  • Improved the runnable example to demonstrate a full end-to-end flow.
  • Example now starts the mock server, performs real HTTP requests, and shows hot reload by updating mock.yaml while running.

0.1.1 #

  • Initial public release of flutter_mock_server.
  • Added CLI commands for init, start, and validate.
  • Added YAML-driven route configuration through mock.yaml.
  • Added Shelf-based local mock server support for GET, POST, PUT, and DELETE routes.
  • Added inline response bodies and file-based JSON responses from data/*.json.
  • Added dynamic response templates for {{uuid}}, {{name}}, and {{timestamp}}.
  • Added optional response delays and simulated error responses.
  • Added hot reload when mock.yaml changes.
1
likes
160
points
277
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter-focused local mock API server with a YAML-driven CLI and hot reload.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, path, shelf, uuid, yaml

More

Packages that depend on flutter_mock_server