From 5ad01c0a5cace335832e3a12ef1b26d95ec36666 Mon Sep 17 00:00:00 2001 From: Kolja Huell Date: Fri, 20 Feb 2026 14:02:57 +0100 Subject: [PATCH 1/2] Add subindex infos for parameter endpoint --- schemas.yaml | 57 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/schemas.yaml b/schemas.yaml index bd03348..c4f10e3 100644 --- a/schemas.yaml +++ b/schemas.yaml @@ -34,6 +34,40 @@ schemas: description: Identifier of the parameter. It can be the parameterName or the index of the parameter. For details see Parameter naming rules in General remarks. \ subParameterIdentMqtt: # path parameter shall not contain a type according to async api spec description: Identifier of the sub-parameter. It can be the sub-parameterName or the sub-index of the parameter. For details see Parameter naming rules in General remarks. \ + parameterInfo: + type: object + required: + - parameterName + - index + properties: + index: + $ref: "#/schemas/index" + parameterName: + $ref: "#/schemas/parameterName" + subindexAccessSupported: + type: boolean + description: only for complex parameters (records or arrays) required. Not allowed for simple parameters + subindexes: + type: array + items: + type: object + required: + - subIndex + - subParameterName + properties: + subIndex: + $ref: "#/schemas/subIndex" + subParameterName: + $ref: "#/schemas/subParameterName" + example: + index: 60 + parameterName: SSC1_1_Param + subindexAccessSupported: true + subindexes: + - subIndex: 1 + subParameterName: SP1 + - subIndex: 2 + subParameterName: SP2 parameterName: type: string description: | @@ -2105,28 +2139,7 @@ schemas: deviceParametersGet: type: array items: - type: object - required: - - index - - parameterName - properties: - index: - $ref: "#/schemas/index" - parameterName: - $ref: "#/schemas/parameterName" - subindexAccessSupported: - type: boolean - description: only for complex parameters (records or arrays) required. Not allowed for simple parameters - example: - - index: 16 - parameterName: "Vendor_Name" - - index: 18 - parameterName: "Product_Name" - - index: 19 - parameterName: "ProductID" - - index: 60 - parameterName: "SSC_1_Param" - subindexAccessSupported: true + $ref: "#/schemas/parameterInfo" deviceSubParametersGet: type: array items: From c07bf2b535c238829d97201891e1f043df82e808 Mon Sep 17 00:00:00 2001 From: Kolja Huell Date: Mon, 23 Feb 2026 13:05:49 +0100 Subject: [PATCH 2/2] Add description for subindexes at parameters endpoint --- schemas.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/schemas.yaml b/schemas.yaml index c4f10e3..279900c 100644 --- a/schemas.yaml +++ b/schemas.yaml @@ -49,6 +49,7 @@ schemas: description: only for complex parameters (records or arrays) required. Not allowed for simple parameters subindexes: type: array + description: only for complex parameters (records or arrays) required. items: type: object required: