Contract Validation & Spec Conformance

For APIs you use and APIs you serve: check that what you rely on still works, with or without a spec, and that an implementation matches its OpenAPI spec. A full API workbench, also in GitHub Actions. No cloud account required.

Clear Signal — api-project
Clear Signal app showing API response with timing breakdown
Open source
MIT licensed
Local-first
No cloud account
CLI + GUI
Same engine
CI/CD ready
GitHub Actions
What it does

Everything you need for API contract verification

Clear Signal focuses on one thing: proving your API actually honours its specification — repeatably, in CI/CD, without a cloud account.

Contract Validation

Can you still use these endpoints as before, and will your change break a consumer? Write what you rely on as scenarios and run them against a test environment. No spec needed.

Spec Conformance

Does the implementation behave as the OpenAPI spec says? Compare real responses with it field by field and type by type, for your own API or one you use.

CLI & GUI Parity

Both surfaces run the exact same Go execution engine. Run scenarios interactively in the desktop app or headlessly in GitHub Actions — identical results.

Git-native Workspaces

Requests, environments, and scenarios are plain YAML files on disk. Version-control them like code, diff them in any editor, share them with your team.

Breaking Change Detection

Diff two API versions against their spec and surface every breaking change before it ships. Catch removed fields, changed types, and tightened constraints automatically, and see which of your scenarios the change would break.

Local-first Security

No mandatory account, no cloud sync, no data leaving your machine. Credential values are masked in history and reports. Your API traffic stays private.

Check Conformance, No Terminal

Pick an OpenAPI spec in the desktop app and press run. Every operation is called and compared with the spec, and each failure says what, where, why and how to fix it. Read requests only by default.

Negative-path Checks

clrsig conform --negative sends requests that should be refused: a missing required field, a wrong type, missing credentials. It fails when the server accepts them.

Nothing Left to Guess

A public list of every check, with an ID, an example and the test that proves it, and of the failures Clear Signal cannot catch yet. Also in the app under Help, What We Check.

Adopt New Checks Gradually

Every finding has a check ID and a severity: failure, warning or note. Fail the build on failures only, or on warnings too with --fail-on warning. Record the known problems as a baseline, and the build fails only on new ones.

Start With One Command

clrsig init writes a project file (clrsig.yaml) and a first set of folders without overwriting anything. clrsig init github-actions prints a ready workflow for your pipeline.

Findings on the Line That Caused Them

In GitHub Actions, --format github puts each failed check on the line of your spec or scenario file. --changed-against sends only the operations that changed in the branch, and validate --spec lints the OpenAPI document itself.

Learn

The ways an API can fail, and how to find and fix each one.

A field guide for developers, engineering managers and DevOps teams. Each problem has a plain explanation, real command output you can reproduce, and what to do about it. It covers OpenAPI contracts and conformance, whatever tool you use.

The Contracts page

Passing tests tell you what works. The Contracts page tells you what you've never checked.

Every time a scenario runs against an OpenAPI spec, Clear Signal maps each request to the spec operation it exercised and records whether it passed. Results accumulate across runs, so the page becomes a running picture of how well your tests cover the contract you declared.

Contracts page for a sample users-api spec: a coverage card per spec, and a table of operations marked Covered or Not covered, with last result and last run time.
Sample data from a fictional users-api spec.

A live scorecard for every OpenAPI spec

One card per spec in the sidebar: coverage percentage, operations covered, and passed and failed run counts.

  • 80% and above
  • 40% and above
  • Below 40%

Every operation, at a glance

Each operation is listed as Covered or Not covered, with the result of the most recent run that hit it and when that was. A failing operation stands out immediately, and so does one nobody has tested.

Quality signals under the operation table: the number of operations with gaps, error status codes never triggered with rows where only 2xx was seen, and secured operations never tested with auth.

Quality signals: what have you not proven?

A 100% coverage number can still hide a lot. Four quality signals point at the gaps that coverage alone misses.

Happy-path only
Only 2xx responses have ever been observed. Nobody has tested what happens when it goes wrong. The app tags these rows “only 2xx seen”.
Error responses never triggered
The spec declares 400, 404, 409 and so on for this operation, but no run has produced them. Each missing code is listed.
Secured, never tested with auth
The spec says the operation needs credentials, yet every call so far was made without any.
Never exercised
No recorded run has reached this operation at all. In the app these are the “Not covered” rows of the table.

Each row names the operation and, for error gaps, the exact status codes to go and trigger. Treat it as a to-do list for your next scenario.

Share it

Export a report that includes the coverage summary, the operation table, and every quality gap.

  • CSV. One row per operation, with quality flags and missing status codes.
  • Markdown. Paste it into a pull request, wiki or README.
  • HTML. A print-ready report that opens in your browser.

Local-first. Contracts data lives in your workspace as files. No account, no cloud. Reset data clears a spec's history whenever you want a fresh baseline.

Export menu on the Contracts page offering CSV, Markdown and HTML report formats.

Turn it on

Point a scenario at its spec and run it. Coverage accumulates automatically, and the CLI reads the same data from the workspace.

scenarios/user-lifecycle.yaml
schemaVersion: "1"
title: User lifecycle
specFile: ./openapi.yaml
bash
clrsig run scenarios/user-lifecycle.yaml --spec openapi.yaml --workspace . --coverage
clrsig coverage list --workspace .
clrsig coverage quality openapi.yaml --workspace .

Screenshots show sample data from a fictional users-api spec, not real results.

Getting started

From spec to CI in three steps

No configuration frameworks, no service accounts. Import a spec, write a scenario, run it anywhere.

Import your OpenAPI spec

Open a workspace, click Import OpenAPI, and point at your .yaml or .json spec. Clear Signal generates one request file per operation — with path params, body stubs, and auth headers already filled in.

yaml
# A generated request file
schemaVersion: "1"
name: Create User
method: POST
url: "{{baseUrl}}/users"
headers:
  - name: Authorization
    value: "Bearer {{token}}"
body:
  type: json
  content: '{"name":"Alice","email":"alice@example.com"}'
Clear Signal workspace panel showing imported OpenAPI operations

Write a scenario in YAML

Chain requests into a multi-step flow. Extract values from one response and pass them to the next. Declare what the response must look like — status code, headers, JSON schema — and Clear Signal enforces it.

yaml
# scenarios/user-lifecycle.yaml
steps:
  - name: Login
    request:
      method: POST
      url: "{{baseUrl}}/auth/login"
    extractions:
      - name: token
        source: jsonpath
        path: "$.token"
    assertions:
      - type: status
        expected: 200
Clear Signal scenario editor with multi-step flow

Run in CI/CD

The same scenario that ran in the GUI runs in GitHub Actions with a single CLI command. Get a structured report — JSON or plain text — that your pipeline can gate on. No tokens, no cloud dependencies.

yaml
# .github/workflows/api-contract-validation.yml
- name: Run Contract Validation
  run: |
    clrsig run scenarios/user-lifecycle.yaml \
      --env environments/staging.yaml \
      --format json \
      --output results.json
Clear Signal scenario results showing pass/fail assertions
Screenshots

Built for developers who care about their tools

Dark and light themes, dense information layout, responsive to any font size. No unnecessary chrome.

Response viewer with status code, timing breakdown, and syntax-highlighted JSON
CLI-first

Fits right into your CI/CD pipeline

clrsig run takes the same scenario YAML that works in the GUI and runs it headlessly — in GitHub Actions, GitLab CI, Jenkins, or any shell. No tokens, no service accounts.

  • JSON and plain-text report output
  • Non-zero exit code on assertion failure
  • Exit codes you control: --fail-on warning, baselines for known problems
  • Annotations on the failing line in GitHub pull requests
  • OS environment variable injection for secrets
  • Cross-platform: Windows, macOS, Linux

Set up the GitHub Action

bash
# Run Contract Validation and Spec Conformance in CI
$ clrsig run scenarios/user-lifecycle.yaml \
--env environments/staging.yaml \
--format json --output results.json
Running: User lifecycle (3 steps)
✓ Login — 142ms
✓ Create user — 89ms
✓ Get user — 67ms
All 3 steps passed · 298ms total
FAQ

Frequently asked questions

Everything you need to know about the free, open-source API testing tool.

What is Contract Validation?

Contract Validation checks that a working agreement is still kept. If you use endpoints, including third-party ones: can you still use them as before? If you serve endpoints: will your change break a consumer? A spec is not required, although it helps. You write what you rely on as scenarios and assertions and run them against a non-production environment, to find problems early. Without a spec, only what your assertions say is checked, and only the consumer needs your scenarios cover are protected.

What is Spec Conformance?

Spec Conformance checks that an API behaves as its OpenAPI spec says, with no drift. If you serve the API: does your implementation match your spec? If you use it: does the API you rely on match its published spec? It needs a spec, and the result is only as strong as that spec: it is evidence about the calls that were made, not proof that the API is correct.

Is Clear Signal free?

Yes. Clear Signal is free and open source under the MIT license. The desktop app and CLI are free forever — no account, no subscription, no usage limits.

How is Clear Signal different from Postman or Insomnia?

Clear Signal is a local-first REST API client built around two jobs: Contract Validation, that what you rely on still works, and Spec Conformance, that an API behaves as its OpenAPI spec says. Workspaces are plain YAML files on disk, with no mandatory login and no cloud sync.

How does Clear Signal detect API drift?

With a spec, responses are compared with it: status codes, headers and JSON schema, field by field and type by type. Without a spec, your scenarios and assertions describe what you rely on, and a run fails when one of them no longer holds. Only what they assert is checked.

Does Clear Signal support OpenAPI 3.0 and 3.1?

Yes. Point Clear Signal at any OpenAPI 3.0 or 3.1 spec — YAML or JSON — and it generates a fully-populated workspace: one request file per operation with path parameters, request body stubs, and security headers already filled in.

Can I run Contract Validation and Spec Conformance in CI/CD?

Yes. clrsig run runs the same YAML scenarios as the desktop app, and clrsig conform checks an API against its spec, headlessly in GitHub Actions, GitLab CI, Jenkins or any shell. Both write reports and exit non-zero when a check fails, so your pipeline can gate on them.

Can an AI agent run Clear Signal for me?

Yes. clrsig mcp starts a Model Context Protocol (MCP) server on stdin/stdout that exposes the conform, run_scenario, diff and coverage tools, so AI agents such as Claude Desktop or Cursor can run Clear Signal directly. It opens no network port. conform and run_scenario send only GET and HEAD unless you allow writes (from 0.20.0), and attach files only from the folders you give the server (from 0.20.1). That does not make an agent safe: a GET can change data, or send a secret, or a file from those folders, to any address. You can also generate a whole test suite from your OpenAPI document with the built-in AI prompt and import it as a single bundle.

Does my API traffic leave my machine?

No. Clear Signal is local-first: requests go directly from your machine to your API. There is no cloud sync, and credential values are masked in history and reports. Masking can miss a secret, so treat reports from sensitive endpoints with care. Usage telemetry is off by default. If you turn it on, some commands send the command name, result, duration and counts, with a random identifier of your installation, the version, operating system, processor type and time; no request addresses, headers or bodies. As with any request, the server sees your IP address. You can switch it in Settings or with clrsig telemetry.

Which platforms are supported?

Windows, macOS (Apple Silicon and Intel), and Linux. Both the desktop GUI and the CLI ship for all three platforms, and they run the same execution engine.

v0.21.0

Free and open source. Forever.

MIT licensed. Download the desktop GUI for your platform, install via a package manager, or grab the CLI binary for CI pipelines.

Upgrading? From 0.21.0 the app keeps a scenario result for each environment, so a pass in one no longer replaces a failure in another; older runs show as environment not recorded. From 0.20.1 or earlier, it also fixes a run that used your active environment when the chosen file could not be parsed. If you use clrsig mcp from 0.20.0 or earlier, upgrade for the 0.20.1 security fix: before it, an AI agent could send any file your account can read. Some uploads now need --config, and since 0.20.0 run_scenario sends no writes unless you allow it. From 0.17.0 or earlier, upgrade for the 0.18.0 security fix in conform --setup; a request that uses an unset ${NAME} is no longer sent. Read the release notes first.

Desktop App

macOS
arm64 + amd64 · .app.zip
Linux
amd64 · binary

Package Managers & Docker

Homebrew macOS / Linux
brew tap fuvito/api-workbench \
  https://github.com/fuvito/api-workbench
brew install fuvito/api-workbench/clrsig
Scoop Windows
scoop bucket add clrsig `
  https://github.com/fuvito/api-workbench
scoop install clrsig
Docker Any platform
docker run --rm \
  -v "$PWD:/workspace" \
  ghcr.io/fuvito/api-workbench:latest \
  run /workspace/scenario.yaml

Installed? Run your first check with the walkthrough, or open the command-line guide.

GitHub Actions

Clear Signal — API Contract Validation
- uses: fuvito/api-workbench@v0.21.0
  with:
    command:   conform
    spec:      openapi.yaml
    base-url:  http://localhost:8080
    coverage:  'true'