From 633d2c17a2d6a6fa3bbbb26bc72c129f01ff20f9 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 1 Nov 2016 11:48:26 +0100 Subject: [PATCH] Pass enableCookies option from SwaggerClient options to SwaggerHttp.execute options (which is already used by swagger-ui project) --- lib/client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/client.js b/lib/client.js index 6495edc82..518b428a5 100644 --- a/lib/client.js +++ b/lib/client.js @@ -203,6 +203,7 @@ SwaggerClient.prototype.build = function (mock) { useJQuery: this.useJQuery, jqueryAjaxCache: this.jqueryAjaxCache, connectionAgent: this.connectionAgent, + enableCookies: this.enableCookies, url: this.url, method: 'get', headers: {