From 1d2734d60adef8955399e0de1e064cf389f415e9 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 28 Mar 2022 16:21:41 +0200 Subject: [PATCH] update OpenAPI spec --- .../components/schemas/config/node.yaml | 18 ++++++++++++++++++ doc/openapi/paths/path/path@{uuid}.yaml | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/doc/openapi/components/schemas/config/node.yaml b/doc/openapi/components/schemas/config/node.yaml index 4dca6bc4e..1bb464269 100644 --- a/doc/openapi/components/schemas/config/node.yaml +++ b/doc/openapi/components/schemas/config/node.yaml @@ -45,6 +45,24 @@ properties: vectorize: type: integer + signals: + type: array + title: List of signals send out to this node + description: | + The outgoing signal list is determined and runtime an must not be provided by the user configuration. + + example: + - name: tap_position + type: integer + init: 0 + - name: voltage + type: float + unit: V + init: 230.0 + + items: + $ref: signal_spec.yaml + hooks: $ref: hook_list.yaml diff --git a/doc/openapi/paths/path/path@{uuid}.yaml b/doc/openapi/paths/path/path@{uuid}.yaml index b2b83d276..6b13f6b3a 100644 --- a/doc/openapi/paths/path/path@{uuid}.yaml +++ b/doc/openapi/paths/path/path@{uuid}.yaml @@ -28,8 +28,8 @@ post: signals: [] hooks: [] in: - - udp_node1 + - udp_node1 out: - - web_node1 + - web_node1 '404': description: Error. There is no path with the given UUID.