Skip to content

api (latest)

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 23:21

api — latest build

api — OpenAPI to API client collections

api converts OpenAPI 3.x specs (JSON or YAML) into ready-to-import collections
for Postman, Bruno, Insomnia, Hoppscotch, REST Client, Thunder Client, Yaak, Hurl, Kreya and curl — or into
standalone browsable API docs pages (Swagger UI, ReDoc, Scalar, Stoplight
Elements, RapiDoc) via api preview. One Rust CLI, no
cloud, no accounts.

Download

Platform Asset
Linux x86_64 cli-api-x86_64-unknown-linux-gnu
macOS Apple Silicon cli-api-aarch64-apple-darwin
Windows x86_64 cli-api-x86_64-pc-windows-msvc.exe
VS Code extension extension-vscode-api.vsix
Zed extension extension-zed-api.tar.gz
JetBrains plugin extension-jetbrains-api.zip

Or install from source:

./scripts/install.sh --cli        # release binary
./scripts/install.sh --vscode     # VS Code extension (.vsix)
./scripts/install.sh --zed        # Zed extension (repo checkout)
./scripts/install.sh --jetbrains  # JetBrains plugin (.zip)
./scripts/install-local.sh        # build everything from this checkout
cargo install api-cli           # once published

Quick start

api convert openapi.yaml --format all --out ./collections
api preview openapi.yaml --format all --out ./docs

Documentation