WebSocket Contract
The WebSocket contract is generated from apps/websocket-manager/src/docs/websocket-contract.ts.
It covers:
- handshake and auth expectations;
- client-to-server and server-to-client messages;
- Redis topics;
- emitted payloads;
- publisher contracts;
- close and error behaviour.
Generated files:
apps/websocket-manager/websocket-contract.jsonapps/websocket-manager/websocket-contract.schema.json
Drift check:
pnpm --filter websocket-manager check-contract