generator icon indicating copy to clipboard operation
generator copied to clipboard

Use your AsyncAPI definition to generate literally anything. Markdown documentation, Node.js code, HTML documentation, anything!

Results 84 generator issues
Sort by recently updated
recently updated
newest added

After we introduced react engine for templates rendering, this code was not changed ```js async shouldOverwriteFile(filePath) { if (!Array.isArray(this.noOverwriteGlobs)) return true; const fileExists = await exists(path.resolve(this.targetDir, filePath)); if (!fileExists) return...

bug

**Description** - add `pacote` dependency - cleanup `arbortis` mock and add new one for `pacote` - modify `generator.js` as suggested **Related issue(s)** fixes: #1102

For the v3 spec operations are much more important for templates. Please also support `$$operation$$`. https://github.com/asyncapi/generator/blob/7629c168532dbc1c6504d7417242084fa7c2d2ef/docs/file-templates.md?plain=1#L6C1-L16C49

use [this PR](https://github.com/asyncapi/generator/pull/925/files) as inspiration, except for: - no changes to workflows - arborist version should not be changed by this issue - supported engines should not be changed by...

enhancement
good first issue
stale
area/javascript

tl;dr - we have [AsyncAPI CLI](https://github.com/asyncapi/cli) and `asyncapi generate fromTemplate` - all missing features are added to AsyncAPI CLI, just [docs need update](https://github.com/asyncapi/generator/issues?q=is%3Aopen+label%3A%22good+first+issue%22+label%3A%22%F0%9F%93%91+docs%22) - we no longer invest dev time...

enhancement

Changes Added. 1. Turborepo Added. 2. Converted the generator repo to app, inside the turborepo. 3. Added the required scripts of the turborepo to the root package.json file. **Related issue(s)**...

bounty

**Description** - add `noOverwriteGlobs` parameters to methods `saveContentToFile` and `saveRenderedReactContent` - pass `this.noOverwriteGlobs` to `saveContentToFile` - check the name of file to be written against the `noOverwriteGlobs` to determine whether...

### What Dev Docs changes are you proposing? - we need to make it clear that https://github.com/asyncapi/generator/blob/master/docs/file-templates.md is a feature for Nunjucks render engine only - we need a new...

📑 docs
bounty

**Description** The PR introduces a new option `compile` in the `Generator` class contructor which is by default `false` ,by default the `React` template files are not transpiled. When setting the...