@microsoft/m365-spec-parser 0.2.6 → 0.2.7-alpha.0d2dd4439.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.
@@ -52,7 +52,6 @@ var WarningType;
52
52
  WarningType["GenerateCardFailed"] = "generate-card-failed";
53
53
  WarningType["OperationOnlyContainsOptionalParam"] = "operation-only-contains-optional-param";
54
54
  WarningType["ConvertSwaggerToOpenAPI"] = "convert-swagger-to-openapi";
55
- WarningType["FuncDescriptionTooLong"] = "function-description-too-long";
56
55
  WarningType["OperationIdContainsSpecialCharacters"] = "operationid-contains-special-characters";
57
56
  WarningType["UnsupportedAuthType"] = "unsupported-auth-type";
58
57
  WarningType["GenerateJsonDataFailed"] = "generate-json-data-failed";
@@ -199,7 +198,7 @@ class Utils {
199
198
  return Object.keys((bodyObject === null || bodyObject === void 0 ? void 0 : bodyObject.content) || {}).length > 1;
200
199
  }
201
200
  static isBearerTokenAuth(authScheme) {
202
- return authScheme.type === "http" && authScheme.scheme === "bearer";
201
+ return authScheme.type === "http" && authScheme.scheme.toLowerCase() === "bearer";
203
202
  }
204
203
  static isAPIKeyAuth(authScheme) {
205
204
  return authScheme.type === "apiKey";