mockbeam_record 1.0.1
mockbeam_record: ^1.0.1 copied to clipboard
A Dart CLI proxy that captures real HTTP API responses and writes them as dio_mock_interceptor-compatible YAML.
1.0.1 #
- Fix: corrected copyright holder name in LICENSE.
1.0.0 #
- Initial release.
- Transparent HTTP proxy using
dart:ioHttpServer+HttpClient— no extra HTTP dependencies. - Captures every JSON response and stores it in a
RouteStore, keyed bymethod:path. - Deduplication: second capture of the same endpoint is silently discarded; first capture wins.
- Binary and oversized (>10 MB) responses are skipped and logged.
- Writes
dio_mock_interceptor-compatible YAML (or JSON with--format json) onCtrl+C. - Atomic write via
.tmprename — a crash cannot leave a partial output file. - CLI flags:
--target,--port,--out,--format,--filter,--insecure,--capture-errors,--append,--version,--help.