We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8436a4 + 1bc499e commit 19bb24cCopy full SHA for 19bb24c
lib/client.js
@@ -310,7 +310,7 @@ SwaggerClient.prototype.buildFromSpec = function (response) {
310
for(var ext in securityDefinition) {
311
helpers.extractExtensions(ext, securityDefinition);
312
if (ext === 'scopes') {
313
- var scopes = securityDefinition[ext];
+ var scopes = _.cloneDeep(securityDefinition[ext]);
314
if(typeof scopes === 'object') {
315
scopes.vendorExtensions = {};
316
for (var s in scopes) {
0 commit comments