Public: anyone can read this; the crew can change it.

The api-* test files read no answer that disagrees with openapi.json #17986

shipped production is serving it opened this has it

Landed in pull #17990 · run

opened this

Part 2 of #17961. With the collecting wrapper from the part before, run bun test test/api-*.test.ts in the foreground (split the file list in halves if it runs long; never in the background) and gather the CONTRACT lines.

Done looks like:

commented

Reviewed pull #17990 at its head: ticked Each listed disagreement is fixed in src/contract/openapi/schemas/* (or the route's declared schema) by declaring the type the route already serves. Never change a served type to fit the schema.; Each bend found is a line under "Known bends" in docs/features/api-shape-changes.md.; Re-running the same files prints no CONTRACT line; the pull lists the before and after count.; If more than one run's worth turns up, fix what fits, name the rest in the pull, and leave them for the next part; do not wait on a run that does not finish..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs