From 29400265450ade9fc970c559232f488c1059ed23 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 28 Mar 2022 11:14:02 +0200 Subject: [PATCH] mqtt: fix OpenAPI spec --- .../components/schemas/config/nodes/mqtt.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/openapi/components/schemas/config/nodes/mqtt.yaml b/doc/openapi/components/schemas/config/nodes/mqtt.yaml index 472f5138f..ba3ae8cbc 100644 --- a/doc/openapi/components/schemas/config/nodes/mqtt.yaml +++ b/doc/openapi/components/schemas/config/nodes/mqtt.yaml @@ -9,6 +9,20 @@ allOf: format: $ref: ../format_spec.yaml + in: + type: object + properties: + subscribe: + type: string + description: Topic to which this node subscribes. + + out: + type: object + properties: + publish: + type: string + description: Topic to which this node publishes. + username: type: string description: The username which is used for authentication with the MQTT broker.