Minor fix in Swagger file 41/35541/1
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Tue, 13 Mar 2018 17:49:23 +0000 (10:49 -0700)
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Tue, 13 Mar 2018 17:50:14 +0000 (10:50 -0700)
Change-Id: I4b2c308b4157d091be39f0f2bfa0372372241ae0
Issue-ID: MUSIC-55
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
swagger.yaml

index 3cdbc4d..f7e56ea 100644 (file)
@@ -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: