@asyncapi/generator 1.17.13 → 1.17.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -196,7 +196,8 @@ class TemperatureServiceClient:
196
196
  self.client.publish(topic, id)
197
197
  ```
198
198
 
199
- Make sure you have the Paho-MQTT library installed. You can install it using pip with the `pip install paho-mqtt` command.
199
+ Make sure you have the Paho-MQTT library installed. You can install it using pip with the `pip install paho-mqtt==1.6.1` command. Please note that this tutorial is based on Paho-MQTT version 1.6.1. The Paho-MQTT library has since been updated to version 2.0.0, which includes changes that are not covered in this tutorial. To ensure compatibility and to follow along without any issues, please install version 1.6.1 of the Paho-MQTT library.
200
+
200
201
  Let's break down the previous code snippet:
201
202
 
202
203
  1. Imports the MQTT module from the Paho package, which provides the MQTT client functionality.
@@ -331,7 +332,7 @@ Generator Error: This template requires the following missing params: server.
331
332
  Update your `test:generate` script in **package.json** to include the server param
332
333
 
333
334
  ```json
334
- test:generate": "asyncapi generate fromTemplate test/fixtures/asyncapi.yml ./ --output test/project --force-write --param server=dev"
335
+ "test:generate": "asyncapi generate fromTemplate test/fixtures/asyncapi.yml ./ --output test/project --force-write --param server=dev"
335
336
  ```
336
337
 
337
338
  You can now replace the static broker from `mqttBroker = 'test.mosquitto.org'` to `mqttBroker = "${asyncapi.servers().get(params.server).url()}"` in **index.js**.
package/docs/usage.md CHANGED
@@ -149,4 +149,4 @@ try {
149
149
  }
150
150
  ```
151
151
 
152
- See the [API documentation](api.md) for more examples and full API reference information.
152
+ See the [API documentation](api) for more examples and full API reference information.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asyncapi/generator",
3
- "version": "1.17.13",
3
+ "version": "1.17.15",
4
4
  "description": "The AsyncAPI generator. It can generate documentation, code, anything!",
5
5
  "main": "./lib/generator.js",
6
6
  "bin": {
@@ -49,7 +49,7 @@
49
49
  "homepage": "https://github.com/asyncapi/generator",
50
50
  "dependencies": {
51
51
  "@asyncapi/generator-react-sdk": "^1.0.13",
52
- "@asyncapi/parser": "^3.0.10",
52
+ "@asyncapi/parser": "^3.0.11",
53
53
  "@npmcli/arborist": "5.6.3",
54
54
  "@smoya/multi-parser": "^5.0.0",
55
55
  "ajv": "^8.12.0",