From 8d7fcec71678e708768d845c0d8551d6789dd47b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Fri, 20 Mar 2020 20:05:56 +0100 Subject: [PATCH] Update 'input.yml' --- input.yml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/input.yml b/input.yml index f7b2578..7b20655 100644 --- a/input.yml +++ b/input.yml @@ -15,10 +15,13 @@ paths: type: object properties: id: - type: string - format: json - items: - $ref: '#/components/schemas/DateDevice' + type: opect + properties: + date: + type: string + format: date + device_id: + type: string soundFile: type: string format: binary @@ -40,16 +43,4 @@ components: type: string description: "Status message from backend." required: - - status - DateDevice: - properties: - date: - type: string - format: date - description: "Date of upload" - device_id: - type: string - description: "ID of device" - required: - - date - - device_id \ No newline at end of file + - status \ No newline at end of file