Skip to content

Commit

Permalink
chore: update generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot committed Jun 28, 2023
1 parent e3b731b commit 8b4e892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Instantiates a new Generator object.
- templateName `String` - Name of the template to generate.
- targetDir `String` - Path to the directory where the files will be generated.
- options `Object`
- [.templateParams] `String` - Optional parameters to pass to the template. Each template define their own params.
- [.templateParams] `Object.<string, string>` - Optional parameters to pass to the template. Each template define their own params.
- [.entrypoint] `String` - Name of the file to use as the entry point for the rendering process. Use in case you want to use only a specific template file. Note: this potentially avoids rendering every file in the template.
- [.noOverwriteGlobs] `Array.<String>` - List of globs to skip when regenerating the template.
- [.disabledHooks] `Object.<String, (Boolean|String|Array.<String>)>` - Object with hooks to disable. The key is a hook type. If key has "true" value, then the generator skips all hooks from the given type. If the value associated with a key is a string with the name of a single hook, then the generator skips only this single hook name. If the value associated with a key is an array of strings, then the generator skips only hooks from the array.
Expand Down

0 comments on commit 8b4e892

Please sign in to comment.