Don’t you hate it when you finish a new feature in your backend, deploy it, and confidently message your frontend colleague in Slack that they can start integrating it, only to be met moments later with: “Which API should I call? I can’t find it in the API reference?!”
Documentation “drift” is an annoying issue that needs to be addressed. I want to take a few minutes to share strategies I’ve recently been using to quickly set up fast API contract tests that run as quickly as unit tests.