End-to-End OpenAPI, AsyncAPI, and Route Type Generation Pipeline Four-stage type generation pipeline: 1. Python Litestar introspection (_openapi.py, _asyncapi.py, _routes.py, _inertia.py), 2. Deterministic write_if_changed JSON artifacts (openapi.json, asyncapi.json, routes.json, inertia-pages.json), 3. Vite createLitestarTypeGenPlugin (@hey-api/openapi-ts and TypeScript emitters), and 4. Frontend typed consumption (route(), toRoute(), createTypedChannels(), FormInput, PagePropsFor). Litestar Introspection export_integration_assets() codegen/_openapi.py codegen/_routes.py codegen/_inertia.py AsyncAPI + static_props JSON Schema Artifacts write_if_changed (SHA-256) openapi.json routes.json inertia-pages.json asyncapi.json Vite TypeGen Plugin Debounced HMR Watcher @hey-api/openapi-ts emit-schemas-types.ts emit-page-props-types.ts emit-channels-types.ts Typed Frontend src/generated/* api/types.gen.ts + sdk route() • wsRoute() PagePropsFor<C> createTypedChannels()