From d0923a6424dbd90d1167ee5dfe984d6aa77f0cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=BCnk=C3=B6sd=20Marcell?= Date: Wed, 29 Apr 2020 22:45:42 +0200 Subject: [PATCH] Update 'storage.yml' --- storage.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/storage.yml b/storage.yml index f24db9d..e1b6ac2 100644 --- a/storage.yml +++ b/storage.yml @@ -1,7 +1,7 @@ swagger: "2.0" info: description: "This is the internal storage interface of the Birbnetes system." - version: "1.1.2" + version: "1.1.3" title: "Storage Service" contact: email: "tormakristof@tormakristof.eu" @@ -29,12 +29,12 @@ paths: produces: - "application/json" parameters: - - name: "tag" + - name: "description" in: "formData" - description: "Tag of sound file" + description: "This is actually a SoundDescription but swagger 2.0 does not support that" required: true type: "string" - - name: "file" + - name: "soundFile" in: "formData" description: "Wave file to upload" required: true @@ -100,4 +100,9 @@ definitions: status: type: "string" msg: + type: "string" + SoundDescription: + type: "object" + properties: + tag: type: "string" \ No newline at end of file