ProductCompareToolsPricingBlog
Sign inCreate an account
  1. Solutions

Your API changed. Your docs did not.

Documentation drift is the gap between what the docs say and what the API does. It opens one release at a time, whenever the docs are a separate thing someone has to remember to update.

Create an account
Update now
# read https://api.yourcompany.com/openapi.json
+ POST /pet/{petId}/uploadImage added
~ GET /pet/findByStatus changed
- DELETE /store/order/legacy removed
# 3 changes published

Where it comes from

Docs written by hand
A wiki, a Markdown folder or a docs tool someone edits. The update is a separate task after the code ships, and it slips.
A spec that is not the source
The OpenAPI file exists but is exported once and pasted somewhere. The next release does not touch it.
Nobody sees the difference
Nothing compares the docs with the API, so the first person to notice is a developer whose request fails.
No record of changes
Even when the docs are fixed, readers who built against the old version cannot tell what moved.

The fix: make the spec the only source

  1. 1

    Generate the spec from the code

    Most frameworks can emit OpenAPI from routes and types (FastAPI, NestJS, springdoc, drf-spectacular and others). Then the spec changes when the code does.
  2. 2

    Publish it at a stable URL

    Serve it from the API itself, like https://api.yourcompany.com/openapi.json, so the current version is always at the same address.
  3. 3

    Build the docs from that URL

    Import the URL into Specway. Click Update now after a release, turn on Keep in sync and it reads the spec once a day, or call the sync on push URL from your deploy job.
  4. 4

    Publish what changed

    Each sync lists added, changed and removed endpoints and adds them to the changelog on your docs site.

What this does not fix

If the spec itself is wrong, the docs will be wrong in the same way. Generating the spec from code is what closes that gap, and it is your build, not Specway, that does it.

Guides you write by hand can still drift. Keep them short and link to the reference for details.

Questions

What about third-party APIs I do not control?+

Import their public spec URL. Each sync shows what changed since the last one, which is a quick way to notice a vendor change before your integration breaks.

Can a sync run from CI?+

Yes. Sync on push gives each API a secret URL. Add `curl -fsS -X POST "$SPECWAY_SYNC_URL"` after the step that publishes your spec and the docs update on every deploy. [How it works](/features/auto-sync#sync-on-push).

Does Specway flag breaking changes?+

No. It lists added, changed and removed endpoints. Removed endpoints and removed parameters are the ones to read first.

Read next

  • Spec URL syncUpdate now, Keep in sync and Live updates.
  • Tracking API changesWhat a sync reports.
  • OpenAPI import guideGet your spec into Specway.
  • Specway vs ReadMeSpec-driven docs compared with a hand-edited docs hub.

See your docs in a minute

Paste the link to your OpenAPI file. Free for one API, no card needed.

Get startedSee pricing

API reference docs from your OpenAPI file.

Product

  • How it works
  • Endpoint pages
  • Code samples
  • Spec sync
  • Spec changes
  • API versions
  • Changelog
  • Recipes
  • Docs assistant
  • Your domain and look
  • Insights
  • Private docs
  • Team SSO
  • Pricing

Compare

  • vs ReadMe
  • vs Mintlify
  • vs Redocly
  • vs Scalar
  • vs Swagger UI
  • Postman alternatives
  • All comparisons

Tools

  • OpenAPI validator
  • OpenAPI diff
  • Swagger 2 to OpenAPI 3
  • cURL to code
  • JWT decoder
  • YAML and JSON
  • llms.txt generator
  • All tools

Resources

  • Guides
  • OpenAPI errors
  • Glossary
  • Public APIs directory
  • Blog
  • Help
  • llms.txt
  • llms-full.txt

Company

  • About
  • Contact
  • Privacy
  • Terms

© 2026 Specway. Made in Utah by Modlific LLC.

GitHubXLinkedIn