{ "swagger": "2.0", "info": { "version": "1.0.0", "title": "SDK Unit Testing - File Downloading" }, "schemes": [ "http" ], "host": "localhost:3000", "basePath": "/unittesting", "paths": { "/request/file_uploading": { "get": { "operationId": "file_uploading", "tags": [ "Request" ], "parameters": [ {"name": "f1", "in": "formData", "type": "string", "format": "binary", "required": true }, {"name": "f2", "in": "formData", "type": "string", "format": "binary", "required": false } ], "consumes": [ "multipart/form-data" ], "responses": { "200": { "description": "OK", "schema": { "type": "string" } } } } }, "/response/file_downloading": { "get": { "operationId": "file_downloading", "tags": [ "Response" ], "produces": [ "multipart/form-data" ], "responses": { "200": { "description": "OK", "schema": { "type": "string", "format": "binary" } } } } } } }