asyncapi-generator
AsyncAPI Generator
Generates an AsyncAPI 3.x spec by statically analysing a service codebase with ripwire.
The spec may be incomplete (stub payloads where the shape can't be resolved), but it is always
valid AsyncAPI 3.x and immediately usable as input to asyncapi-parser and Drift.
This is the async counterpart of oas-generator. The key difference: HTTP routes are declared in
one place, but messaging topology is scattered — a topic name appears in a producer call, a
consumer decorator, a config file and an env var. Most of the work is finding every send/receive
site and resolving the channel name behind it.
Prerequisites: ripwire on PATH. If absent, see pact-coverage/references/install-ripwire.md.
AsyncAPI 2.x is not supported by Drift, so always emit asyncapi: "3.0.0".
Read references/broker-patterns.md for grep patterns per
broker/library. Read it in Step 2; don't load it earlier.