# typespec-asyncapi > TypeSpec AsyncAPI emitter: define event channels, messages, and operations in TypeSpec, then generate AsyncAPI 3.1 YAML or JSON validated against the official AsyncAPI JSON Schema. Install with `pnpm add @lars-artmann/typespec-asyncapi` and add it to your `tspconfig.yaml` emitter list. Every documented decorator and emitter option applies to the generated document. ## Documentation Sets - [Abridged documentation](https://typespec-asyncapi.lars.software/llms-small.txt): a compact version of the documentation for typespec-asyncapi, with non-essential content removed - [Complete documentation](https://typespec-asyncapi.lars.software/llms-full.txt): the full documentation for typespec-asyncapi ## Notes - The complete documentation includes all content from the official documentation - The content is automatically generated from the same source as the official documentation ## Optional - [GitHub repository](https://github.com/LarsArtmann/typespec-asyncapi): Source code and issue tracker - [npm package](https://www.npmjs.com/package/@lars-artmann/typespec-asyncapi): Published releases