From: Shashank Kumar Shankar Date: Tue, 13 Mar 2018 17:49:23 +0000 (-0700) Subject: Minor fix in Swagger file X-Git-Tag: 2.0.0-ONAP~8 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b1be54648978a1c858d2ce1e0701e0552c9296fe;p=music%2Fdistributed-kv-store.git Minor fix in Swagger file Change-Id: I4b2c308b4157d091be39f0f2bfa0372372241ae0 Issue-ID: MUSIC-55 Signed-off-by: Shashank Kumar Shankar --- 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: