| Crates.io | harbinger |
| lib.rs | harbinger |
| version | 0.1.2 |
| created_at | 2025-11-09 23:51:55.390178+00 |
| updated_at | 2025-11-10 05:17:19.084677+00 |
| description | A Rust implementation that captures live API responses from Postman collections and automatically generates OpenAPI 3.0 specifications |
| homepage | https://github.com/rileyseaburg/harbinger |
| repository | https://github.com/rileyseaburg/harbinger |
| max_upload_size | |
| id | 1924586 |
| size | 5,797,161 |
![]()
"The herald of your API's true nature"
A Rust implementation that captures live API responses from Postman collections and automatically generates OpenAPI 3.0 specifications.
This tool runs your Postman collections against your actual API, captures the real responses, and automatically generates an accurate OpenAPI 3.0 spec based on what your API is actually returning. Think of it as a herald announcing the true structure of your API to the world.
Harbinger includes a beautiful desktop application built with Tauri and React. The GUI provides:
src-tauri/icons/ including:
.ico and various sizes.icns formatcargo install harbinger
cargo build --release
The binary will be available at target/release/harbinger (or harbinger.exe on Windows).
To build and run the desktop application:
cd src-tauri
cargo tauri dev
Run your collection and generate an OpenAPI spec in one step:
.\target\release\harbinger.exe generate -c collection.json -e environment.json -o openapi-spec.yaml
Run your collection and save the HAR file for later processing:
.\target\release\harbinger.exe run -c collection.json -e environment.json -o api-run.har
generate CommandRuns the collection and generates an OpenAPI spec.
-c, --collection <FILE> - Path to Postman collection JSON file (required)-e, --environment <FILE> - Path to Postman environment JSON file (optional)-o, --output <FILE> - Output OpenAPI spec file path (default: openapi-spec.yaml)run CommandRuns the collection and saves the HAR file.
-c, --collection <FILE> - Path to Postman collection JSON file (required)-e, --environment <FILE> - Path to Postman environment JSON file (optional)-o, --output <FILE> - Output HAR file path (default: api-run.har){{variable}} placeholders with actual valuescollection.jsonenvironment.json.\target\release\harbinger.exe generate -c collection.json -e environment.json
openapi-spec.yamlcollection.jsonenvironment.json{{variable}})This is a Rust rewrite inspired by the Newman CLI (Apache 2.0 licensed). Rust provides:
This project is licensed under the Apache License 2.0, matching the original Newman CLI license.
While Newman is a full-featured collection runner, this tool focuses specifically on:
It's optimized for the spec generation workflow rather than being a general-purpose testing tool.