Update 'storage.yml'
This commit is contained in:
parent
dad4cab7de
commit
d0923a6424
13
storage.yml
13
storage.yml
@ -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
|
||||||
@ -101,3 +101,8 @@ definitions:
|
|||||||
type: "string"
|
type: "string"
|
||||||
msg:
|
msg:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
SoundDescription:
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
tag:
|
||||||
|
type: "string"
|
Loading…
Reference in New Issue
Block a user