fix errors
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2020-07-16 14:51:17 +02:00
parent 5e8947f856
commit 405568c78b
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 25 additions and 2 deletions

View File

@ -210,6 +210,16 @@ components:
bindingVersion: 0.1.0
payload:
$ref: "#/components/schemas/controlPayload"
statusmessage:
name: statusmessage
title: Status message
summary: Status messages sent by devices to any interested parties
contentType: application/json
bindings:
mqtt:
bindingVersion: 0.1.0
payload:
$ref: "#/components/schemas/statusPayload"
schemas:
wavePayload:
@ -253,7 +263,20 @@ components:
sensorID:
type: string
format: uuid
summary: Unique ID used to identify a particular sensor on a device.
summary: Unique ID used to identify a particular sensor on a device. (May be wildcard or empty)
command:
type: string
enom: ["online", "offline"]
enom: ["online", "offline"]
statusPayload:
type: object
properties:
deviceID:
type: string
format: uuid
summary: Unique ID used to identify a particular device in the system.
sensorID:
type: string
format: uuid
summary: Unique ID used to identify a particular sensor on a device. (May be wildcard or empty)
status:
type: string