From 8b4e892faa630d87c97abb1be7ed6a889f820342 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Wed, 28 Jun 2023 12:53:11 +0000 Subject: [PATCH] chore: update generated docs --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index b51bc16d2..41fb622f7 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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.` - 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.` - List of globs to skip when regenerating the template. - [.disabledHooks] `Object.)>` - 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.