Skip to main content

mockbeam_record 1.0.1 copy "mockbeam_record: ^1.0.1" to clipboard
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:io HttpServer + HttpClient — no extra HTTP dependencies.
  • Captures every JSON response and stores it in a RouteStore, keyed by method: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) on Ctrl+C.
  • Atomic write via .tmp rename — a crash cannot leave a partial output file.
  • CLI flags: --target, --port, --out, --format, --filter, --insecure, --capture-errors, --append, --version, --help.
4
likes
160
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart CLI proxy that captures real HTTP API responses and writes them as dio_mock_interceptor-compatible YAML.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, yaml, yaml_writer

More

Packages that depend on mockbeam_record