Files
ai-video-fullstack/backend/contracts/README.md
T

12 lines
610 B
Markdown
Raw Normal View History

2026-09-07 14:25:48 +08:00
# 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.