# Spec compare

> Spec compare documentation for Edith on Mac. Compare local API contracts before adopting a change. Setup steps, settings, shortcuts and ed commands.

- Canonical URL: https://getedith.pro/docs/extensions/openapi-diff
- Updated: 2026-12-02

Select a base and revision OpenAPI file to review added, removed and changed operations, follow source locations and copy a Markdown report.

## Install Spec compare

1. Open **Library** in Edith's sidebar.
2. Search for Spec compare in **Search tools**, or open the **Developer & Data** category.
3. Press **Install**. Spec compare is added to your sidebar.

Spec compare is a beta extension: it shows a **Beta** badge and appears once you join [the beta](https://getedith.pro/docs/beta).

From the terminal, `ed extensions install specCompare` does the same. See [Extensions](https://getedith.pro/docs/extensions) for turning extensions off, updating and removing them.

## Where to find Spec compare

- **Sidebar.** Click Spec compare in the sidebar to open its page, or press <kbd>⌘</kbd><kbd>K</kbd> and type its name.
- **Home.** Open **Home**, press **Edit Home**, then **Add widgets** to place its widgets.

## Get started with Spec compare

1. **Choose two files.** Select the base contract, then the revised contract.
2. **Compare operations.** Review grouped operations and breaking findings.
3. **Share the report.** Copy deterministic Markdown with source links.

## From the terminal

Everything above works in the app. The `ed` command line is optional, for scripts and coding agents. Spec compare's commands are in [`ed spec-compare`](https://getedith.pro/docs/cli/spec-compare), and each one is also a tool in [Edith's MCP server](https://getedith.pro/docs/mcp).

```sh
ed spec-compare compare /tmp/base.yaml /tmp/revision.yaml
ed spec-compare compare /tmp/base.json /tmp/revision.json --json
```

## Permissions and requirements

- macOS 14 or later on Apple silicon
- oasdiff 1.37 or later in the 1.x series, installed with Homebrew

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
