@microsoft/m365-spec-parser 0.2.4-alpha.425b32d09.0 → 0.2.4-alpha.ad0d7aa1a.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.
@@ -16,6 +16,7 @@ export declare class ConstantString {
16
16
  static readonly SpecVersionNotSupported = "Unsupported OpenAPI version %s. Please use version 3.0.x.";
17
17
  static readonly MultipleAuthNotSupported = "Multiple authentication methods are unsupported. Ensure all selected APIs use identical authentication.";
18
18
  static readonly OperationIdContainsSpecialCharacters = "Operation id '%s' in OpenAPI description document contained special characters and was renamed to '%s'.";
19
+ static readonly AuthTypeIsNotSupported = "Unsupported authorization type in API '%s'. No authorization will be used.";
19
20
  static readonly UnsupportedSchema = "Unsupported schema in %s %s: %s";
20
21
  static readonly FuncDescriptionTooLong = "The description of the function '%s' is too long. The current length is %s characters, while the maximum allowed length is %s characters.";
21
22
  static readonly GenerateJsonDataFailed = "Failed to generate JSON data for api: %s due to %s.";
@@ -116,6 +116,7 @@ export declare enum WarningType {
116
116
  ConvertSwaggerToOpenAPI = "convert-swagger-to-openapi",
117
117
  FuncDescriptionTooLong = "function-description-too-long",
118
118
  OperationIdContainsSpecialCharacters = "operationid-contains-special-characters",
119
+ UnsupportedAuthType = "unsupported-auth-type",
119
120
  GenerateJsonDataFailed = "generate-json-data-failed",
120
121
  Unknown = "unknown"
121
122
  }
@@ -7,6 +7,7 @@ export declare class Utils {
7
7
  static isBearerTokenAuth(authScheme: AuthType): boolean;
8
8
  static isAPIKeyAuth(authScheme: AuthType): boolean;
9
9
  static isOAuthWithAuthCodeFlow(authScheme: AuthType): boolean;
10
+ static isNotSupportedAuth(authSchemeArray: AuthInfo[][]): boolean;
10
11
  static getAuthArray(securities: OpenAPIV3.SecurityRequirementObject[] | undefined, spec: OpenAPIV3.Document): AuthInfo[][];
11
12
  static getAuthInfo(spec: OpenAPIV3.Document): AuthInfo | undefined;
12
13
  static updateFirstLetter(str: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/m365-spec-parser",
3
- "version": "0.2.4-alpha.425b32d09.0",
3
+ "version": "0.2.4-alpha.ad0d7aa1a.0",
4
4
  "description": "OpenAPI specification files Parser for M365 Apps",
5
5
  "main": "dist/index.node.cjs.js",
6
6
  "browser": "dist/index.esm2017.js",
@@ -39,7 +39,7 @@
39
39
  "sideEffects": false,
40
40
  "dependencies": {
41
41
  "@apidevtools/swagger-parser": "^10.1.0",
42
- "@microsoft/teams-manifest": "0.1.8-alpha.425b32d09.0",
42
+ "@microsoft/teams-manifest": "0.1.8-alpha.ad0d7aa1a.0",
43
43
  "fs-extra": "^11.2.0",
44
44
  "js-yaml": "^4.1.0",
45
45
  "openapi-types": "^7.2.3",
@@ -147,5 +147,5 @@
147
147
  "npx eslint --cache --fix --quiet"
148
148
  ]
149
149
  },
150
- "gitHead": "accebc3d2173b5bb9d89bd9f7e86bfbfdd9a389f"
150
+ "gitHead": "9ba67af6f8e12f442b1ef56ac2052759a649e00d"
151
151
  }