diff --git a/README.md b/README.md index fce72dc8c..8b5d49fab 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,12 @@ asyncapi generate fromTemplate @asyncapi/html-template@2.3.14 asyncapi generate fromTemplate @asyncapi/html-template@3.0.0 --use-new-generator ``` +> If you use template version v3.5 with AsyncAPI Generator v3 and AsyncAPI CLI v5 + +```bash +asyncapi generate fromTemplate @asyncapi/html-template@3.5.0 +``` + You can replace `` with local path or URL pointing to [any AsyncAPI document](https://raw.githubusercontent.com/asyncapi/spec/refs/heads/master/examples/streetlights-kafka-asyncapi.yml). Look into [Releases](/asyncapi/html-template/releases) of this template to pick up the version you need. It is not recommended to always use the latest in production. Always use a specific version. diff --git a/package.json b/package.json index 2bb90c547..e62e646a6 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "generator": { "renderer": "react", "apiVersion": "v3", - "generator": ">=2.0.0 <3.0.0", + "generator": ">=2.0.0 <4.0.0", "conditionalGeneration": { "css": { "parameter": "singleFile",