summaryrefslogtreecommitdiffstats
path: root/swagger.yaml
diff options
context:
space:
mode:
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-03-13 10:49:23 -0700
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-03-13 10:50:14 -0700
commitb1be54648978a1c858d2ce1e0701e0552c9296fe (patch)
treea178fc45613963194280ee5658a3e24ace99d256 /swagger.yaml
parent086faa54cc995f9850c0946f42a83b58fed02046 (diff)
Minor fix in Swagger file
Change-Id: I4b2c308b4157d091be39f0f2bfa0372372241ae0 Issue-ID: MUSIC-55 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Diffstat (limited to 'swagger.yaml')
-rw-r--r--swagger.yaml18
1 files changed, 2 insertions, 16 deletions
diff --git a/swagger.yaml b/swagger.yaml
index 3cdbc4d..f7e56ea 100644
--- a/swagger.yaml
+++ b/swagger.yaml
@@ -161,7 +161,7 @@ paths:
summary: "Get config file."
description: "Get config file identified by token and filename."
produces:
- - "application/json"
+ - "file"
parameters:
- name: "token"
in: "path"
@@ -176,8 +176,6 @@ paths:
responses:
200:
description: "successful operation"
- schema:
- $ref: "#/definitions/ConfigDomainDOWNLOADResponse"
delete:
tags:
- "Config"
@@ -208,7 +206,7 @@ paths:
summary: "Get config file from subdomain."
description: "Get config file identified by token, filename and subdomain."
produces:
- - "application/json"
+ - "file"
parameters:
- name: "token"
in: "path"
@@ -228,8 +226,6 @@ paths:
responses:
200:
description: "successful operation"
- schema:
- $ref: "#/definitions/ConfigSubDomainDOWNLOADResponse"
delete:
tags:
- "Config"
@@ -385,21 +381,11 @@ definitions:
properties:
response:
type: "string"
- ConfigDomainDOWNLOADResponse:
- type: "object"
- properties:
- response:
- type: "string"
ConfigDomainDELETEResponse:
type: "object"
properties:
response:
type: "string"
- ConfigSubDomainDOWNLOADResponse:
- type: "object"
- properties:
- response:
- type: "string"
ConfigSubDomainDELETEResponse:
type: "object"
properties: