fix errors
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

@ -210,6 +210,16 @@ components:
bindingVersion: 0.1.0 bindingVersion: 0.1.0
payload: payload:
$ref: "#/components/schemas/controlPayload" $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: schemas:
wavePayload: wavePayload:
@ -253,7 +263,20 @@ components:
sensorID: sensorID:
type: string type: string
format: uuid 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: command:
type: string 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