up
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
sdk-generator-smoke / sdk-smoke (push) Has been cancelled
SDK Publish & Sign / sdk-publish (push) Has been cancelled
api-governance / spectral-lint (push) Has been cancelled
oas-ci / oas-validate (push) Has been cancelled
Mirror Thin Bundle Sign & Verify / mirror-sign (push) Has been cancelled
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
sdk-generator-smoke / sdk-smoke (push) Has been cancelled
SDK Publish & Sign / sdk-publish (push) Has been cancelled
api-governance / spectral-lint (push) Has been cancelled
oas-ci / oas-validate (push) Has been cancelled
Mirror Thin Bundle Sign & Verify / mirror-sign (push) Has been cancelled
This commit is contained in:
@@ -39,3 +39,9 @@ Last updated: 2025-11-25 (Docs Tasks Md.V)
|
||||
## Testing
|
||||
- Contract tests must cover the lowest and highest supported minor/patch for each major.
|
||||
- Deterministic fixtures for each version live under `tests/fixtures/api/versioning/`; CI runs `pnpm api:compat` against these fixtures.
|
||||
- Compatibility diff (`pnpm api:compat old.yaml new.yaml`) now flags:
|
||||
- Added/removed operations and responses
|
||||
- Parameter additions/removals/requiredness flips
|
||||
- Request body additions/removals/requiredness and content-type changes
|
||||
- Response content-type additions/removals
|
||||
Use `--fail-on-breaking` in CI to block removals/requiredness increases.
|
||||
|
||||
Reference in New Issue
Block a user