@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.
@@ -205,7 +205,7 @@ class Utils {
205
205
  return Object.keys((bodyObject === null || bodyObject === void 0 ? void 0 : bodyObject.content) || {}).length > 1;
206
206
  }
207
207
  static isBearerTokenAuth(authScheme) {
208
- return authScheme.type === "http" && authScheme.scheme === "bearer";
208
+ return authScheme.type === "http" && authScheme.scheme.toLowerCase() === "bearer";
209
209
  }
210
210
  static isAPIKeyAuth(authScheme) {
211
211
  return authScheme.type === "apiKey";