LintDrift

Documentation correctness testing

Your documentation should never fall behind your code.

Connect a GitHub repository and catch outdated API documentation whenever code changes. Deterministic checks find the mismatch. AI explains how to fix it.

GitHub App · OpenAPI · Markdown · TypeScript

The mismatch

The route changed. The docs still describe yesterday.

A parameter rename or a version prefix is a correct code change. It is also a broken contract if the Markdown still shows the old path. Spell checkers and link checkers cannot see that.

  • Developers integrate against an outdated API contract.
  • SDK examples stop compiling the day the route changes.
  • Support answers questions the docs already got wrong.
  • API consumers stop trusting the reference.
src/routes/users.tsImplementation
GET /api/v2/users/:userId
docs/api/users.mdDocumentation, still published
GET /api/users/{id}

Endpoint mismatch · path parameter renamed from id to userId

What the check proves

Six checks. Each one can show its evidence.

Built first for TypeScript and Node repositories that publish OpenAPI and Markdown. A finding names the file, the line, and both sides of the mismatch.

API endpoints

Endpoint mismatch

Documented routes compared with the routes in code.

Code
POST /api/v2/orders
Docs
POST /api/orders

Parameters

Renamed parameter

Renames, removals, and added required fields.

Code
userId
Docs
id

Schemas

Schema mismatch

Request and response fields against the API contract.

Code
createdAt
Docs
created_at

Missing docs

Undocumented operation

New public operations with nothing written down.

Code
POST /api/v2/refunds
Docs
No matching page

Code examples

Invalid example

Snippets that still call a field the contract dropped.

Code
email
Docs
Removed property

References

Broken reference

Complementary. A broken link is not documentation drift by itself.

Code
authentication-v1.md
Docs
File removed

In the pull request

The check runs where the change is reviewed.

  1. 01

    Install the GitHub App

    Connect GitHub and choose the repositories to watch. LintDrift finds documentation directories, Markdown, MDX, and OpenAPI specs.

  2. 02

    Open a pull request

    Nothing changes in the developer workflow. When a pull request touches the API or the docs, the scan runs on that diff against the surrounding contract.

  3. 03

    Read the check in GitHub

    Findings land as a GitHub Check Run: severity, file, line, what the docs say, what the code does, and a correction to review.

A GitHub check run from LintDrift listing an endpoint mismatch, a missing response property, and a broken documentation reference.

Deterministic, then AI

The check decides what is wrong. AI only helps you fix it.

Source of truth

Proven from the contract

The route, the OpenAPI operation, and the documented path are compared directly. If they disagree, the finding exists whether or not a model is asked to comment.

Code
GET /api/v2/users/:userId
OpenAPI
GET /api/v2/users/{userId}
Docs
GET /api/users/{id}

Suggestion to review

A rewrite, not a verdict

After the mismatch is established, LintDrift can explain it and draft the replacement. Nothing is merged until someone accepts the suggestion.

GET /api/users/{id}

GET /api/v2/users/{userId}

The route picked up the /v2 prefix, and the path parameter was renamed from id to userId.

Who it is for

Bought by the person who owns the API contract.

Engineering managers, CTOs, developer-experience leads, and API platform engineers. Health on the dashboard is the count of explainable findings, not an opaque score.

  • B2B SaaS

    Public API references have to stay true after every release.

  • API-first startups

    Customers build against the reference, not the source.

  • Developer tools

    The documentation is part of the product people pay for.

  • Open source

    Contributors change routes and guides in the same pull request.

  • Platform teams

    5–100 developers, GitHub, TypeScript or OpenAPI, frequent API changes.

LintDrift documentation health view with open findings, critical issues, and coverage of documented versus discovered API operations.

A different category

Not another place to publish docs.

Documentation platforms

Host and organize the docs.

Tests those docs against the code.

Spelling checkers

Judge the language.

Judge whether the contract is still true.

Link checkers

Find broken URLs.

Find semantic drift, and broken references beside it.

AI doc generators

Write new documentation.

Test the documentation you already have.

General code-review AI

Comment on the diff.

Repeat the same documentation checks on every pull request.

Current plans

Priced by repository.

Start with one repo. Add seats of coverage when more services need the same check.

Free

$0/ month

  • 1 repository
  • Basic documentation checks
  • Limited scans
  • GitHub integration
Get started

Pro

Recommended

$29/ month

  • 5 repositories
  • Advanced drift detection
  • PR annotations
  • AI explanations
Get started

Team

$79/ month

  • 20 repositories
  • Team collaboration
  • Custom rules
  • Advanced analytics
Get started

Business

$199/ month

  • 75 repositories
  • Organization-wide policies
  • Priority support
  • Extended retention
Get started

FAQ

Before you connect a repository.

How does LintDrift decide a doc is wrong?

It compares documented endpoints, parameters, and schemas with the TypeScript routes and the OpenAPI contract. A finding exists only when those sources disagree, and the check shows both sides. The goal is meaningful mismatches, not a pile of false positives that teams turn off.

Is the AI the source of truth?

No. Deterministic checks establish the mismatch. AI explains why it happened and can draft a corrected snippet or example. Suggestions stay unmerged until someone reviews them.

What does the first version actually scan?

GitHub repositories using TypeScript or Node, OpenAPI, and Markdown or MDX. It reports endpoint, parameter, and schema mismatches, plus missing documentation for new operations. Other languages and other Git hosts come later.

Can a check fail the pull request?

Yes. Annotations are posted on the pull request, and you can choose which severities fail the check. Developers fix the docs without leaving the review.

Do you store our source code?

Repository access is used to run the check. LintDrift stores findings, scan history, and account data so you can review what changed. It does not keep a copy of your source as a product archive.

How is pricing counted?

Plans are repository-based. Free covers 1 repository. Pro is $29 for 5, Team is $79 for 20, and Business is $199 for 75. You can cancel from account settings and keep the paid plan through the current period.

Your documentation should never fall behind your code.

Catch the outdated endpoint before the pull request merges. Set up on GitHub, then leave the check running.

Get started

Free for one repository