From 4d6d0a8ada2184047bdd3e632b3727ff32edc8d1 Mon Sep 17 00:00:00 2001 From: kmohr-soprasteria <57349523+kmohr-soprasteria@users.noreply.github.com> Date: Wed, 2 Jul 2025 15:34:42 +0200 Subject: [PATCH] Review /v1/provide-device-status-metadata requestBody schema and possibly modify it Fixes #1360 --- spec/MicroWaveDeviceInventory.yaml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/spec/MicroWaveDeviceInventory.yaml b/spec/MicroWaveDeviceInventory.yaml index 517c46d2..7ee63f07 100644 --- a/spec/MicroWaveDeviceInventory.yaml +++ b/spec/MicroWaveDeviceInventory.yaml @@ -2715,19 +2715,17 @@ paths: content: application/json: schema: - oneOf: - - description: 'Mount-name list filter' - type: object - properties: - mount-name-list: - type: array - items: - type: string - description: 'List of names of devices for which the status metadata shall be provided.' - example: - mount-name-list: - - '305251234' - - '105258888' + type: object + properties: + mount-name-list: + type: array + items: + type: string + description: 'List of names of devices for which the status metadata shall be provided.' + example: + mount-name-list: + - '305251234' + - '105258888' responses: '200': description: 'Device status metadata provided'