@asyncapi/cli 1.2.5 → 1.2.6
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.
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
asyncapi:
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
asyncapi:
|
|
1
|
+
asyncapi: 3.0.0
|
|
2
2
|
info:
|
|
3
|
-
title: Streetlights
|
|
4
|
-
version: 1.0.0
|
|
3
|
+
title: Streetlights App
|
|
4
|
+
version: '1.0.0'
|
|
5
5
|
description: |
|
|
6
|
-
The Smartylighting Streetlights
|
|
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
|
-
|
|
13
|
+
host: test.mosquitto.org
|
|
15
14
|
protocol: mqtt
|
|
16
15
|
channels:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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'
|
package/oclif.manifest.json
CHANGED