@asyncapi/cli 1.2.5 → 1.2.7

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.
@@ -9,7 +9,7 @@
9
9
  "version": "0.1.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
- "@asyncapi/glee": "^0.32.3"
12
+ "@asyncapi/glee": "^0.32.4"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/node": "^20.5.9"
@@ -280,9 +280,9 @@
280
280
  "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
281
281
  },
282
282
  "node_modules/@asyncapi/glee": {
283
- "version": "0.32.3",
284
- "resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.32.3.tgz",
285
- "integrity": "sha512-y4DwPRT7l5KMM7jbnY+cTV2BaBvNaoEJifmCVd3MQIbrbixGhyK8e5Zj1/naNjdFszeyoj/97+iWKtz3F0iVFA==",
283
+ "version": "0.32.4",
284
+ "resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.32.4.tgz",
285
+ "integrity": "sha512-WrSEVNJfSmp/ZVzubTxeS8MSoKo0fB2ObsCDdUTSKshdMXnZ9A564Tq5AOiUlLkuefoGZDZoY6Jb0/Hz8Zvevw==",
286
286
  "dependencies": {
287
287
  "@asyncapi/generator": "^1.15.3",
288
288
  "@asyncapi/html-template": "^2.0.0",
@@ -12489,9 +12489,9 @@
12489
12489
  }
12490
12490
  },
12491
12491
  "@asyncapi/glee": {
12492
- "version": "0.32.3",
12493
- "resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.32.3.tgz",
12494
- "integrity": "sha512-y4DwPRT7l5KMM7jbnY+cTV2BaBvNaoEJifmCVd3MQIbrbixGhyK8e5Zj1/naNjdFszeyoj/97+iWKtz3F0iVFA==",
12492
+ "version": "0.32.4",
12493
+ "resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.32.4.tgz",
12494
+ "integrity": "sha512-WrSEVNJfSmp/ZVzubTxeS8MSoKo0fB2ObsCDdUTSKshdMXnZ9A564Tq5AOiUlLkuefoGZDZoY6Jb0/Hz8Zvevw==",
12495
12495
  "requires": {
12496
12496
  "@asyncapi/generator": "^1.15.3",
12497
12497
  "@asyncapi/html-template": "^2.0.0",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "homepage": "https://github.com/asyncapi/glee-hello-world#readme",
26
26
  "dependencies": {
27
- "@asyncapi/glee": "^0.32.3"
27
+ "@asyncapi/glee": "^0.32.4"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^20.5.9"
@@ -1,13 +1,21 @@
1
- asyncapi: '2.2.0'
1
+ asyncapi: 3.0.0
2
2
  info:
3
3
  title: Account Service
4
4
  version: 1.0.0
5
5
  description: This service is in charge of processing user signups
6
6
  channels:
7
- user/signedup:
8
- subscribe:
9
- message:
7
+ userSignedUp:
8
+ address: user/signedup
9
+ messages:
10
+ UserSignedUp:
10
11
  $ref: '#/components/messages/UserSignedUp'
12
+ operations:
13
+ onUserSignUp:
14
+ action: receive
15
+ channel:
16
+ $ref: '#/channels/userSignedUp'
17
+ messages:
18
+ - $ref: '#/channels/userSignedUp/messages/UserSignedUp'
11
19
  components:
12
20
  messages:
13
21
  UserSignedUp:
@@ -20,4 +28,4 @@ components:
20
28
  email:
21
29
  type: string
22
30
  format: email
23
- description: Email of the user
31
+ description: Email of the user
@@ -52,7 +52,7 @@
52
52
  "value": "slack-rtm.yml"
53
53
  },
54
54
  {
55
- "name": "Streetlights API Simplified - (protocols: mqtt)",
55
+ "name": "Streetlights App - (protocols: mqtt)",
56
56
  "value": "tutorial.yml"
57
57
  },
58
58
  {
@@ -1,24 +1,22 @@
1
- asyncapi: 2.5.0
1
+ asyncapi: 3.0.0
2
2
  info:
3
- title: Streetlights API Simplified
4
- version: 1.0.0
3
+ title: Streetlights App
4
+ version: '1.0.0'
5
5
  description: |
6
- The Smartylighting Streetlights API allows you to remotely manage the city lights.
7
-
8
- This is a simplified version of the Streetlights API from other examples. This version is used in AsyncAPI documentation.
6
+ The Smartylighting Streetlights application allows you
7
+ to remotely manage the city lights.
9
8
  license:
10
9
  name: Apache 2.0
11
- url: https://www.apache.org/licenses/LICENSE-2.0
10
+ url: 'https://www.apache.org/licenses/LICENSE-2.0'
12
11
  servers:
13
12
  mosquitto:
14
- url: mqtt://test.mosquitto.org
13
+ host: test.mosquitto.org
15
14
  protocol: mqtt
16
15
  channels:
17
- light/measured:
18
- publish:
19
- summary: Inform about environmental lighting conditions for a particular streetlight.
20
- operationId: onLightMeasured
21
- message:
16
+ lightMeasured:
17
+ address: 'light/measured'
18
+ messages:
19
+ lightMeasuredMessage:
22
20
  name: LightMeasured
23
21
  payload:
24
22
  type: object
@@ -34,4 +32,10 @@ channels:
34
32
  sentAt:
35
33
  type: string
36
34
  format: date-time
37
- description: Date and time when the message was sent.
35
+ description: Date and time when the message was sent.
36
+ operations:
37
+ onLightMeasured:
38
+ action: receive
39
+ summary: Information about environmental lighting conditions for a particular streetlight.
40
+ channel:
41
+ $ref: '#/channels/lightMeasured'
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.5",
2
+ "version": "1.2.7",
3
3
  "commands": {
4
4
  "bundle": {
5
5
  "id": "bundle",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@asyncapi/cli",
3
3
  "description": "All in one CLI for all AsyncAPI tools",
4
- "version": "1.2.5",
4
+ "version": "1.2.7",
5
5
  "author": "@asyncapi",
6
6
  "bin": {
7
7
  "asyncapi": "./bin/run"