Related to #421 and #232. A spec that drifts from the implementation is worse than no spec, because SDKs and users trust it.
Scope
- A test that fails when a route exists without a spec entry, or a spec entry without a route.
- Cover status codes and error envelopes, not just paths and happy-path shapes.
- Run it in CI so drift is caught at the PR, not at release.
Done when
- CI fails on any divergence between the OpenAPI spec and the implemented API.
Related to #421 and #232. A spec that drifts from the implementation is worse than no spec, because SDKs and users trust it.
Scope
Done when