You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenAPI declares request/response headers and the documented error statuses #1333
Follow-up named by #523 (E13). openapi.public.json declares no header parameters and lists only 2XX and default responses for every operation. The retry contract (Idempotency-Key on ingest and imports, Idempotent-Replayed on a replay) and the 401/402/403/404/409/413/422/503 statuses exist only in rustdoc and on /docs, so a client generated from the contract cannot see them.
Done when each operation declares the error statuses its handler can return, each with the {detail} body, and the request and response headers it reads or sets. Both must be derived from the handler source (er-api-spec), not hand-listed, so the contract cannot drift.
Activity
feat(api): the contract declares each operation's error statuses and …
feat(api): the contract declares each operation's error statuses and …