Detect changes without generating
Public contract comparison can reveal a new model alias or changed input constraint without spending credits. Raw text diffs are noisy because property order and descriptions can change. A useful gate separates behavioral differences from editorial updates.
What to do next
- 01
Pin the reviewed baseline
Store the schema version, retrieval date and a content digest with your integration test assets. Keep the public document separate from private responses, credentials and customer examples so the baseline can be reviewed safely.
- 02
Compare semantic elements
Compare paths, methods, required fields, accepted values, numeric bounds and response schemas. Classify additive optional response fields differently from removed inputs or a newly required field; do not fail every wording change identically.
- 03
Resolve rather than suppress
For a meaningful change, update the request builder, tolerant decoder or test cases as needed. Record why the change is compatible or requires a release, and keep previously approved request snapshots interpretable.
A concrete example
Illustrative example: a public schema adds an image model alias. The release check flags a catalog change for review, while a removed required response field would block the decoder test. Neither case launches a paid generation as a probe.
Before you call it ready
- Baseline retrieval is dated.
- Behavioral diffs are classified.
- Release notes record the compatibility decision.
When to stop or choose another method
Stop auto-updating the pinned contract and declaring success without reviewing the behavioral differences that the new baseline would conceal.
