description changes

This commit is contained in:
Torma Kristóf 2020-04-08 03:12:40 +02:00
parent 5382df7722
commit 23ef0e725a
1 changed files with 5 additions and 11 deletions

View File

@ -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":