generator
generator copied to clipboard
Use your AsyncAPI definition to generate literally anything. Markdown documentation, Node.js code, HTML documentation, anything!
#### Describe the bug If someone will run [`generate(...AsyncAPIDocument)`](https://github.com/asyncapi/generator/blob/master/lib/generator.js#L166) function then some hooks like this https://github.com/asyncapi/generator-hooks/blob/master/src/index.js#L5 won't work, because `originalAsyncAPI` is empty (undefined). #### How to Reproduce Try to generate...
#### Reason/Context I was just writing an article where I wanted to briefly explain generator and its templates - I failed again. I'm also failing with it always when tweet...
#### Reason/Context Please try answering few of those questions - Why we need this improvement? There are a huge variety of projects using Typescript and this library offers no typings...
#### Reason/Context If you want to run the generator in an environment with restricted internet access, one of the ways to do that currently is to build the image of...
#### Reason/Context Stumbled upon this and thought it would be perfect for the generator. We could offer a way to use the [init function](https://docs.npmjs.com/cli/v7/commands/npm-init) which will allow people to more...
#### Reason/Context I have a template where user can pass `-p png=true` to get additional png of the diagram. I showed example through CLI where everything is a String. Now,...
sorry,I‘m a backend developer.I don't understand the 2 errors below. > An error will occur when there is no git environment. > An error will occur when there are uncommitted...
#### Reason/Context By default, npm will not install new versions of a template because it finds it's already installed and skips the installation process. This is a good thing in...
#### Reason/Context When using a template that's not compatible with the current version of the generator, we get an error with a message saying it's not compatible. #### Description It...