Supertest
OpenAPI Contract Testing with Supertest
An OpenAPI spec is a contract. When your API response drifts from the spec — a field renamed, a type changed, a required property missing — clients break silently. Supertest combined with schema validation lets you assert that every API response matches the contract, automatically, on every test run. Key Takeaways Validate