Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinZhengOI committed Mar 21, 2024
1 parent 2b5956c commit bdbd07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/generator-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ Generator Error: This template requires the following missing params: server.
Update your `test:generate` script in **package.json** to include the server param

```json
test:generate": "asyncapi generate fromTemplate test/fixtures/asyncapi.yml ./ --output test/project --force-write --param server=dev"
"test:generate": "asyncapi generate fromTemplate test/fixtures/asyncapi.yml ./ --output test/project --force-write --param server=dev"
```

You can now replace the static broker from `mqttBroker = 'test.mosquitto.org'` to `mqttBroker = "${asyncapi.servers().get(params.server).url()}"` in **index.js**.
Expand Down

0 comments on commit bdbd07a

Please sign in to comment.