Skip to main content

Source Artifact summary

ArtifactRole
packages/generated-realtime-api/server/asyncapi.yamlServer-side realtime source artifact
packages/generated-realtime-api/client/asyncapi.yamlClient-side realtime source artifact
docs/api-specs/realtime-server-asyncapi.yamlDocs-local render input for Mintlify-generated realtime reference

Ownership chain

LayerOwnership
Package-owned AsyncAPI artifactsAuthoritative contract source for the public realtime family
docs/api-specs/realtime-server-asyncapi.yamlDocs-local render input copied into the docs repo scope for Mintlify rendering
Generated realtime pagesPublic channel/message rendering layer that depends on the docs-local mirror

Ownership rule

The package-owned AsyncAPI artifacts remain the source of truth for the realtime family. The docs-local mirror exists only because Mintlify-generated reference must read spec files from within the docs repo scope.

Regeneration and verification

StepRequired action
Update the upstream public server contractChange packages/generated-realtime-api/server/asyncapi.yaml in the owning package surface
Keep the docs-local render input alignedCopy the updated server artifact into docs/api-specs/realtime-server-asyncapi.yaml in the same MR
Re-read the support pagesUpdate the authored realtime family pages whenever the AsyncAPI change alters auth, connection, rate-limit, or error claims
Validate Mintlify renderingRun mint validate after the mirror is refreshed
There is no repo-local realtime spec bundler analogous to the REST OpenAPI builder yet. Mirror refresh is therefore a manual lockstep step, not an optional follow-up.

Publication rule

This source-artifact chain applies to the active public realtime family only. It does not imply that adjacent restricted or product-specific WebSocket contracts are published as public generated pages.
Last modified on April 13, 2026