@composer-js/core
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -99,3 +99,9 @@ "use strict"; | ||
} | ||
return spec.components.schemas[name]; | ||
// Perform a case-insensitive search for the schema | ||
for (const schemaName in spec.components.schemas) { | ||
if (schemaName.match(new RegExp(name, 'i'))) { | ||
return spec.components.schemas[schemaName]; | ||
} | ||
} | ||
return undefined; | ||
} | ||
@@ -102,0 +108,0 @@ /** |
{ | ||
"name": "@composer-js/core", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "A collection of common utilities and core functionality for composerjs applications.", | ||
@@ -5,0 +5,0 @@ "author": "AcceleratXR, Inc. <info@acceleratxr.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96268
1537