@microsoft/m365-spec-parser 0.2.7-alpha.d8fe55aa3.0 → 0.2.7-alpha.e3f6ce706.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 +8 -13
- 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 +10 -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 +2 -1
- package/dist/src/utils.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.esm5.js
CHANGED
|
@@ -82,7 +82,6 @@ var WarningType;
|
|
|
82
82
|
WarningType["GenerateCardFailed"] = "generate-card-failed";
|
|
83
83
|
WarningType["OperationOnlyContainsOptionalParam"] = "operation-only-contains-optional-param";
|
|
84
84
|
WarningType["ConvertSwaggerToOpenAPI"] = "convert-swagger-to-openapi";
|
|
85
|
-
WarningType["FuncDescriptionTooLong"] = "function-description-too-long";
|
|
86
85
|
WarningType["OperationIdContainsSpecialCharacters"] = "operationid-contains-special-characters";
|
|
87
86
|
WarningType["UnsupportedAuthType"] = "unsupported-auth-type";
|
|
88
87
|
WarningType["GenerateJsonDataFailed"] = "generate-json-data-failed";
|
|
@@ -229,7 +228,7 @@ class Utils {
|
|
|
229
228
|
return Object.keys((bodyObject === null || bodyObject === void 0 ? void 0 : bodyObject.content) || {}).length > 1;
|
|
230
229
|
}
|
|
231
230
|
static isBearerTokenAuth(authScheme) {
|
|
232
|
-
return authScheme.type === "http" && authScheme.scheme === "bearer";
|
|
231
|
+
return authScheme.type === "http" && authScheme.scheme.toLowerCase() === "bearer";
|
|
233
232
|
}
|
|
234
233
|
static isAPIKeyAuth(authScheme) {
|
|
235
234
|
return authScheme.type === "apiKey";
|