Based on https://github.com/asyncapi/markdown-template
ag asyncapi.yaml @michalmela/asyncapi-asciidoctor-template -o output
If you don't have the AsyncAPI Generator installed, you can install it like this:
npm install -g @asyncapi/generator
Name | Description | Required | Default | Example |
---|---|---|---|---|
outFilename | The filename of the output file. | No | asyncapi.md |
index.md |
- Make sure you have the latest generator installed
npm install -g @asyncapi/generator
. - Modify the template or it's helper functions. Adjust
test/spec/asyncapi.yml
to have more features if needed. - Generate output with watcher enables
npm run dev
. - Check generated markdown file located in
./test/output/asyncapi.md
.