API Contract Analyzer

Lint an OpenAPI or Swagger spec for contract quality issues.

Support
Works Offline
Privacy First
No Login
No API

OpenAPI document

Paste JSON or YAML (OpenAPI 3.x / Swagger 2)

Contract report

Structure, documentation and safety checks

Operations
4
Errors
0
Warnings
11
Notes
6

Orders API · v1.3.0 · parsed as YAML

  • serversNo `servers` declared, so clients cannot infer a base URL.
  • GET /ordersNo 4xx error response documented.
  • GET /ordersNo security requirement — the operation is documented as public.
  • POST /ordersNo 4xx error response documented.
  • POST /ordersPOST has no request body schema.
  • POST /ordersNo security requirement — the operation is documented as public.
  • GET /orders/{orderId}No 4xx error response documented.
  • GET /orders/{orderId}No security requirement — the operation is documented as public.
  • POST /refundsNo 4xx error response documented.
  • POST /refundsPOST has no request body schema.
  • POST /refundsNo security requirement — the operation is documented as public.
  • infoNo API description — useful for docs and SDK generation.
  • infoNo contact details declared.
  • GET /ordersNo tags, so docs cannot group this operation.
  • POST /ordersNo tags, so docs cannot group this operation.
  • GET /orders/{orderId}No tags, so docs cannot group this operation.
  • POST /refundsNo tags, so docs cannot group this operation.

About the API Contract Analyzer

Paste an OpenAPI 3 or Swagger 2 document (JSON or YAML) and get a prioritised list of contract problems: missing operationIds, undocumented responses, absent security schemes, unversioned servers, missing descriptions and error responses. Everything is parsed locally in your browser.

Examples

OpenAPI 3 spec

openapi: 3.0.0 ...

Output

12 findings: 3 errors, 5 warnings, 4 info

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-20 · Runs entirely in your browser