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

A test that reads an /api/v1 answer disagreeing with openapi.json goes red #17988

shipped production is serving it opened this has it

Landed in pull #18013 · run

opened this

Part 4, the last, of #17961.

Done looks like:

commented

Reviewed pull #18013 at its head: ticked The contract wrapper throws by default (strict); the collect mode stays only behind FORGE_CONTRACT_COLLECT=1 for the next time a schema is audited.; docs/features/api-shape-changes.md: "A route's tests add the same check as they gain samples" now says every API answer a test reads is checked against openapi.json.; The conforms test asserts the default is strict (the approvedAt stub rejects without calling contractStrict).; The forge's check on the pull is green; any test it turns red names a schema fix still missing, which goes in this pull the same way (declare the served type)..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs