Files
ai-video-fullstack/backend/contracts/README.md
T
Xin Wang 2649d64b55
Quality gate / backend (push) Canceled after 0s
Quality gate / frontend (push) Canceled after 0s
feat: harden public OpenAI API contracts
2026-09-07 14:25:48 +08:00

610 B

Public API contract snapshots

These generated files define OpenAI-compatible subset v1:

  • openapi.json describes public and admin HTTP routes.
  • openai-realtime-client-events.schema.json validates accepted Realtime events.
  • openai-realtime-server-events.schema.json validates the common server-event envelope, supported event names, and extension version.

From the repository root, run make contract-snapshots after an intentional contract change. The contract test fails when generated output differs, so snapshot changes must be reviewed alongside implementation and documentation changes.