Update 'storage.yml'

This commit is contained in:
Pünkösd Marcell 2020-04-29 22:45:42 +02:00
parent dad4cab7de
commit d0923a6424
1 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,7 @@
swagger: "2.0" swagger: "2.0"
info: info:
description: "This is the internal storage interface of the Birbnetes system." description: "This is the internal storage interface of the Birbnetes system."
version: "1.1.2" version: "1.1.3"
title: "Storage Service" title: "Storage Service"
contact: contact:
email: "tormakristof@tormakristof.eu" email: "tormakristof@tormakristof.eu"
@ -29,12 +29,12 @@ paths:
produces: produces:
- "application/json" - "application/json"
parameters: parameters:
- name: "tag" - name: "description"
in: "formData" in: "formData"
description: "Tag of sound file" description: "This is actually a SoundDescription but swagger 2.0 does not support that"
required: true required: true
type: "string" type: "string"
- name: "file" - name: "soundFile"
in: "formData" in: "formData"
description: "Wave file to upload" description: "Wave file to upload"
required: true required: true
@ -100,4 +100,9 @@ definitions:
status: status:
type: "string" type: "string"
msg: msg:
type: "string"
SoundDescription:
type: "object"
properties:
tag:
type: "string" type: "string"