From b1be54648978a1c858d2ce1e0701e0552c9296fe Mon Sep 17 00:00:00 2001 From: Shashank Kumar Shankar Date: Tue, 13 Mar 2018 10:49:23 -0700 Subject: Minor fix in Swagger file Change-Id: I4b2c308b4157d091be39f0f2bfa0372372241ae0 Issue-ID: MUSIC-55 Signed-off-by: Shashank Kumar Shankar --- swagger.yaml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'swagger.yaml') 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: -- cgit 1.2.3-korg