Skip to content

Commit b9127e2

Browse files
authored
feat: removing the spinner (#1544)
1 parent 908fb7f commit b9127e2

File tree

6 files changed

+2915
-2978
lines changed

6 files changed

+2915
-2978
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
asyncapi: 2.0.0
2+
info:
3+
title: Streetlights API
4+
version: 1.0.0
5+
channels:
6+
smartylighting/event/{streetlightId}/lighting/measured:
7+
$ref: >-
8+
#/components/channels/smartylighting/event/{streetlightId}/lighting/measured
9+
parameters:
10+
streetlightId:
11+
schema:
12+
$ref: '#/components/schemas/schema'
13+
smartylighting/action/{streetlightId}/turn/on:
14+
$ref: '#/components/channels/smartylighting/action/{streetlightId}/turn/on'
15+
components:
16+
schemas:
17+
sentAt:
18+
type: string
19+
format: date-time
20+
lumens:
21+
type: integer
22+
minimum: 0
23+
payload:
24+
type: object
25+
properties:
26+
sentAt:
27+
$ref: '#/components/schemas/sentAt'
28+
messages:
29+
message:
30+
name: turnOnOff
31+
title: Turn on/off
32+
traits:
33+
- headers:
34+
type: object
35+
properties:
36+
my-app-header:
37+
type: integer
38+
minimum: 0
39+
maximum: 100
40+
payload:
41+
$ref: '#/components/schemas/payload'
42+
operations:
43+
subscribe:
44+
operationId: receiveLightMeasurement
45+
traits:
46+
- bindings:
47+
kafka:
48+
clientId: my-app-id
49+
message:
50+
$ref: '#/components/messages/message'
51+
publish:
52+
operationId: turnOn
53+
traits:
54+
- bindings:
55+
kafka:
56+
clientId: my-app-id
57+
message:
58+
$ref: '#/components/messages/message'
59+
channels:
60+
smartylighting/event/{streetlightId}/lighting/measured:
61+
parameters:
62+
streetlightId:
63+
schema:
64+
$ref: '#/components/schemas/schema'
65+
subscribe:
66+
$ref: '#/components/operations/subscribe'
67+
smartylighting/action/{streetlightId}/turn/on:
68+
parameters:
69+
streetlightId:
70+
schema:
71+
$ref: '#/components/schemas/schema'
72+
publish:
73+
$ref: '#/components/operations/publish'

0 commit comments

Comments
 (0)