CONTRACTS

Validate OpenAPI predeployment

A good quality gate prevents broken contracts without blocking the team on purely cosmetic preferences.

The validation must answer three separate questions: is the document interpretable, is the contract sufficiently secure and documented, and does the implementation actually meet this contract?

The four levels

LevelPurposeMoment
SyntaxRead YAML or JSONEditor and commit
StructureMeet specificationPull request
PolicyInternal security and documentationQuality gate
Actual contractCompare API and documentIntegration tests

Choose blocking rules

Block as a priority the impossible references, invalid structures, operations without usable response and security inconsistencies. Too short descriptions or missing examples can start as warnings, then become blockers after adoption by the team.

Check compatibility

A valid specification can still break a client: field deletion, type change or new mandatory value. Compare the proposed version to the published version and document the break policy.

Integrate into IC

  1. Analyze the file at each merger request.
  2. Archive the report and make the alerts visible in the journal.
  3. Fail only on the severity defined by the policy.
  4. Then run the contract tests against the environment concerned.

Report OpenAPI and SARIF

APICheck controls the standard, security and documentation, without calling the declared servers.

Validate a specification

See specification OpenAPI Official and page validator OpenAPI online.

Published on 19 July 2026.