
Write the OpenAPI file first, then let the compiler and a short test catch every place the agent drifts from it
A contract-first loop for a C# API and a TypeScript client: generated types for the client, a schema check on every response, and a failing test as the agent's brief. About 30 minutes, works with any agent.
14 min read
