# Install openapi with Homebrew

CLI tools for working with OpenAPI, Arazzo and Overlay specifications. Version 1.24.0 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:openapi
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install openapi
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:openapi
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/openapi>
- **Version:** 1.24.0
- **Source summary:** CLI tools for working with OpenAPI, Arazzo and Overlay specifications
- **Homepage:** <https://www.speakeasy.com>
- **Repository:** <https://github.com/speakeasy-api/openapi>
- **Upstream docs:** <https://github.com/speakeasy-api/openapi#readme>
- **License:** MIT
- **Source archive:** <https://github.com/speakeasy-api/openapi/archive/refs/tags/v1.24.0.tar.gz>
- **Last updated:** 2026-06-22T03:57:51Z
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- openapi (cli)
- openapi (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 1.24.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/speakeasy-api/openapi
- Upstream latest detected: v1.24.0 (current)
## Project history and usage

Speakeasy's `openapi` package is a Go library and CLI for working with OpenAPI, Swagger 2.0, Arazzo, and OpenAPI Overlay documents. The Homebrew formula installs the `openapi` command.

### Project history

The repository was created on August 22, 2024. Speakeasy describes it as the OpenAPI library used directly in its products, including SDK generation and Gram, and a January 2026 engineering post introduced it as a comprehensive Go package set for OpenAPI, Swagger, Arazzo, and Overlay specification documents.

The project combines several document families under one command: OpenAPI 3.0, 3.1, and 3.2 support; Swagger 2.0 reading and upgrading; Arazzo workflow documents; and OpenAPI Overlays. That scope reflects newer OpenAPI Initiative work around workflows and overlays, not just classic endpoint descriptions.

### Adoption history

The package is young compared with OpenAPI Generator, but it has first-party adoption inside Speakeasy's product stack and is distributed as a Go module, GitHub releases, install scripts, and a Homebrew formula. The README and install guide also document direct `go install` usage for developers who want the CLI from source.

### How it is used

The CLI groups commands under `openapi spec`, `openapi swagger`, `openapi arazzo`, and `openapi overlay`. Users validate, lint, bundle, inline, join, clean, optimize, sanitize, snip, upgrade, query, explore, apply overlays, compare specs to generate overlays, and validate Arazzo workflows.

Go developers use the packages programmatically for reading, creating, mutating, walking, validating, upgrading, linting, and overlay operations. The linter subpackage includes built-in rules for style, security, and semantic validation, with custom rules written in TypeScript or JavaScript.

### Why package nerds care

The package is interesting because the `openapi` formula name maps to one vendor-maintained implementation rather than the OpenAPI standard itself. It is also a compact example of newer API-description tooling where specs, workflow descriptions, overlays, lints, and query operations are bundled into a single CLI.

### Timeline

- August 22, 2024: the GitHub repository was created. January 2026: Speakeasy's engineering blog introduced the Go OpenAPI library. June 22, 2026: GitHub releases list v1.24.0.

### Related projects

- The package is related to Speakeasy's SDK generation products, the OpenAPI Specification, Swagger 2.0, the Arazzo Specification, and OpenAPI Overlay tooling.

### Sources

- <https://api.github.com/repos/speakeasy-api/openapi>
- <https://formulae.brew.sh/formula/openapi>
- <https://github.com/speakeasy-api/openapi>
- <https://github.com/speakeasy-api/openapi/blob/main/INSTALL.md>
- <https://www.openapis.org/arazzo-specification>
- <https://www.speakeasy.com/blog/building-speakeasy-openapi-go-library>
- <https://www.speakeasy.com/openapi>


## Security Notes

No matching local secret-handling manifest was found for openapi. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** openapi
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [openapi-diff](https://www.automicvault.com/pkg/brew/openapi-diff/) - Shares av.db curated category or tags: api-development, cli, developer-tools, openapi.
- [openapi-generator](https://www.automicvault.com/pkg/brew/openapi-generator/) - Shares av.db curated category or tags: api-development, cli, developer-tools, openapi.
- [openapi-tui](https://www.automicvault.com/pkg/brew/openapi-tui/) - Shares av.db curated category or tags: api-development, cli, developer-tools, openapi.
- [action-validator](https://www.automicvault.com/pkg/brew/action-validator/) - Shares av.db curated category or tags: cli, developer-tools, validation.
- [asyncapi](https://www.automicvault.com/pkg/brew/asyncapi/) - Shares av.db curated category or tags: cli, developer-tools, validation.
- [autorest](https://www.automicvault.com/pkg/brew/autorest/) - Shares av.db curated category or tags: cli, developer-tools, openapi.
- [bpmnlint](https://www.automicvault.com/pkg/brew/bpmnlint/) - Shares av.db curated category or tags: cli, developer-tools, validation.
- [check-jsonschema](https://www.automicvault.com/pkg/brew/check-jsonschema/) - Shares av.db curated category or tags: cli, developer-tools, validation.

## Combined YAML source

View the package source record on GitHub. [combined/openapi.yml](https://github.com/automic-vault/db/blob/main/combined/openapi.yml)


## Sources

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
