Tech
Your OpenAPI spec is a contract. Nobody is checking it. I built a CLI that detects spec↔code drift with zero dependencies.
"The generated client keeps calling DELETE /items/{id}."
"The server returns 405 Method Not Allowed."
An OpenAPI spec is not just documentation. SDKs, frontend types, API docs, mock servers — everything is generated from the spec. When the implementation drifts from it, everything generated starts lying quietly .
This is about oas-drift , a CLI I built that detects that drift — with zero dependencies (Python 3.11+ standard library only, no LLM).
https://github.com/sunnydachs/o...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to