Back to articles

Tag archive

#openapi

Y
Oct 23, 2026

Your saved API example keeps passing against the mock and fails against the live backend

A hand-saved API example and a recorded mock drift from the OpenAPI spec after a field rename, a new required field, or an enum change. The mock never enforces the schema, so the old payload stays green locally and fails against the deployed backend. This piece covers why a stale example reads as correct, the signatures of request and mock drift, and the local gate that keeps examples tied to the spec.

Oct 23, 20263 min read1 reactions0 comments