@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.
- package/dist/index.esm2017.js +1 -2
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm2017.mjs +3 -12
- package/dist/index.esm2017.mjs.map +1 -1
- package/dist/index.esm5.js +1 -2
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +4 -13
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/src/adaptiveCardWrapper.d.ts +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/interfaces.d.ts +1 -2
- package/dist/src/manifestUpdater.d.ts +1 -1
- package/dist/src/utils.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.esm2017.js
CHANGED
|
@@ -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";
|