generator
generator copied to clipboard
Use your AsyncAPI definition to generate literally anything. Markdown documentation, Node.js code, HTML documentation, anything!
#### Describe the bug ``` ✓ generated using Nunjucks template (492ms) #html-template ✓ generate using React template (4875ms) #markdown-template ``` Markdown template is the simples one we have, yet it...
#### Reason/Context The problem is described here https://github.com/asyncapi/playground/pull/79. It must be clear that returned data is not content but an object with content and metadata + what is this metadata,...
### What Dev Docs changes are you proposing? We miss the following docs in current outline: Installation and Usage What do you think, we need one, two or 3 separate...
### What Dev Docs changes are you proposing? https://github.com/asyncapi/generator/blob/master/docs/template.md Not sure what you think but probably it should be in structure next to `AsyncAPI Specification File` document. Why? Introduction explains...
### What Dev Docs changes are you proposing? https://github.com/asyncapi/generator/blob/master/docs/asyncapi-context.md Actually, we need to call it Template Context. Scope, pretty much copy paste from https://github.com/asyncapi/template-for-generator-templates#asyncapi-document. Of course if you see it...
### What Dev Docs changes are you proposing? https://github.com/asyncapi/generator/blob/master/docs/parser.md I'm still not 100% sure that `Parser` is a good name of the document. Maybe it should just be a part...
### What Dev Docs changes are you proposing? https://github.com/asyncapi/generator/blob/master/docs/asyncapi-file.md- explain in short one paragraph what asyncapi specification is, no more, just one sentence and link to the spec. We assume...
### What Dev Docs changes are you proposing? https://github.com/asyncapi/generator/blob/master/docs/index.md This document should address the following topics: - overview of what generator is (some technical input is already in the Readme...
#### Describe the bug I get the following error on running `ag asyncapi.yaml @asyncapi/html-template`: ``` Something went wrong: Error: Token "ChildObject" does not exist. at dereference (c:\devsbb\eaio-ng\nodejs\16\node_modules\@asyncapi\generator\node_modules\@asyncapi\parser\lib\parser.js:160:11) at handleCircularRefs (c:\devsbb\eaio-ng\nodejs\16\node_modules\@asyncapi\generator\node_modules\@asyncapi\parser\lib\parser.js:174:3)...