From 23ef0e725afc347a3cbf160e3c0ba308b30f7d44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 8 Apr 2020 03:12:40 +0200 Subject: [PATCH] description changes --- input.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/input.yml b/input.yml index 8527606..a672499 100644 --- a/input.yml +++ b/input.yml @@ -25,7 +25,7 @@ paths: - input responses: "200": - description: Array of decision objects + description: Array of input objects schema: $ref: '#/definitions/InputResponse' "404": @@ -44,18 +44,12 @@ paths: produces: - "application/json" parameters: - - name: "date" + - name: "description" in: "formData" - description: "Date of recording" + description: "JSON" required: true type: "string" format: "date" - - name: "device_id" - in: "formData" - description: "ID of recording device" - required: true - type: "integer" - format: "int64" - name: "file" in: "formData" description: "Wave file to upload" @@ -89,7 +83,7 @@ paths: /output/{tagID}: get: - summary: Get decision by ID + summary: Get input object by ID operationId: getInput tags: - input @@ -102,7 +96,7 @@ paths: format: uuid responses: "200": - description: Decision object + description: input object schema: $ref: '#/definitions/InputSingeResponse' "404":