add status message definitions
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f26558c337
commit
5e8947f856
@ -105,7 +105,7 @@ channels:
|
|||||||
operationId: sendprobability
|
operationId: sendprobability
|
||||||
message:
|
message:
|
||||||
$ref: '#/components/messages/output'
|
$ref: '#/components/messages/output'
|
||||||
edge/sensor:
|
device/sensor:
|
||||||
bindings:
|
bindings:
|
||||||
mqt:
|
mqt:
|
||||||
qos: 1
|
qos: 1
|
||||||
@ -124,7 +124,7 @@ channels:
|
|||||||
operationId: sendSensorData
|
operationId: sendSensorData
|
||||||
message:
|
message:
|
||||||
$ref: '#/components/messages/sensor'
|
$ref: '#/components/messages/sensor'
|
||||||
edge/control:
|
device/control:
|
||||||
bindings:
|
bindings:
|
||||||
mqt:
|
mqt:
|
||||||
qos: 2
|
qos: 2
|
||||||
@ -143,6 +143,25 @@ channels:
|
|||||||
operationId: sendCommand
|
operationId: sendCommand
|
||||||
message:
|
message:
|
||||||
$ref: '#/components/messages/controlmessage'
|
$ref: '#/components/messages/controlmessage'
|
||||||
|
device/status:
|
||||||
|
bindings:
|
||||||
|
mqt:
|
||||||
|
qos: 0
|
||||||
|
retain: true
|
||||||
|
bindingVersion: 0.1.0
|
||||||
|
description: Status messages of a device
|
||||||
|
subscribe:
|
||||||
|
summary: Recieve device status messages
|
||||||
|
description: Operation faliure or device status information
|
||||||
|
operationId: recieveStatusMessage
|
||||||
|
message:
|
||||||
|
$ref: '#/components/messages/statusmessage'
|
||||||
|
publish:
|
||||||
|
summary: Send status messages
|
||||||
|
description: Send operational messages to interested parties
|
||||||
|
operationId: sendStatusMessage
|
||||||
|
message:
|
||||||
|
$ref: '#/components/messages/statusmessage'
|
||||||
|
|
||||||
components:
|
components:
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
|
Loading…
Reference in New Issue
Block a user