The Powerduck Blog

API engineering, from the spec out

Product updates, engineering notes, and guides for designing, debugging, testing, mocking, and serving MCP tools from one OpenAPI spec.

Browse the guides
testing 2 min read

Stop Testing Your API With the Same Perfect Request

Your favorite saved request probably exercises the easiest path. Change one input at a time to find the assumptions hiding behind a green Send button.

Read article
API Design 2 min read

The Most Useful API Review Starts With a Diff, Not a Demo

A demo shows that the new path works. A contract diff shows what existing callers now have to survive. Here is a focused way to review an API change without turning it into a committee meeting.

Read article
javascript 3 min read

Your Cancel Button Might Only Be Canceling the Spinner

Hiding a loading state does not stop work. Follow cancellation from the browser through queued requests and upstream services, then test the races users actually hit.

Read article
API Design 4 min read

Health checks for APIs: /healthz, /readyz, /livez, version, and metrics in OpenAPI

Liveness and readiness are different questions: is the process running, and can it serve traffic right now including its dependencies? Collapse them into one /health endpoint and Kubernetes kills a pod briefly waiting on its database, or routes traffic to a half-warmed instance. Here is the...

Read article