@microsoft/m365-spec-parser 0.2.6 → 0.2.7-alpha.2e9f0b9ef.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -247,7 +247,7 @@ class Utils {
247
247
  return Object.keys((bodyObject === null || bodyObject === void 0 ? void 0 : bodyObject.content) || {}).length > 1;
248
248
  }
249
249
  static isBearerTokenAuth(authScheme) {
250
- return authScheme.type === "http" && authScheme.scheme === "bearer";
250
+ return authScheme.type === "http" && authScheme.scheme.toLowerCase() === "bearer";
251
251
  }
252
252
  static isAPIKeyAuth(authScheme) {
253
253
  return authScheme.type === "apiKey";