flutter_mock_server 0.1.2
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.yamlwhile running.
0.1.1 #
- Initial public release of
flutter_mock_server. - Added CLI commands for
init,start, andvalidate. - Added YAML-driven route configuration through
mock.yaml. - Added Shelf-based local mock server support for
GET,POST,PUT, andDELETEroutes. - 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.yamlchanges.