@microsoft.azure/autorest-core
Advanced tools
Comparing version 3.0.5445 to 3.0.5447
@@ -292,7 +292,11 @@ "use strict"; | ||
for (const { key, value, pointer, children } of nodes) { | ||
this.cCount[key] = this.cCount[key] || 0; | ||
if (components[key] === undefined) { | ||
this.newObject(components, key, pointer); | ||
// NOTE: SecuritySchemes are not being used anywhere in AutoRest. | ||
// So, to reduce overhead in RPs with hundreds of swaggers we drop them. | ||
if (key !== 'securitySchemes') { | ||
this.cCount[key] = this.cCount[key] || 0; | ||
if (components[key] === undefined) { | ||
this.newObject(components, key, pointer); | ||
} | ||
this.visitComponent(key, components[key], children); | ||
} | ||
this.visitComponent(key, components[key], children); | ||
} | ||
@@ -299,0 +303,0 @@ } |
{ | ||
"name": "@microsoft.azure/autorest-core", | ||
"version": "3.0.5445", | ||
"version": "3.0.5447", | ||
"description": "AutoRest core module", | ||
@@ -5,0 +5,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26155986
14566