We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc699c7 commit 2560643Copy full SHA for 2560643
src/swagger/swagger.service.ts
@@ -25,10 +25,12 @@ export class SwaggerService {
25
return Promise.reject(new ConfigurationErrorResult(ErrorCode.MissingEnv, 'The API_INFO_VERSION environment variable is missing!'));
26
}
27
28
+ /* tslint:disable:no-unnecessary-type-assertion - False positive */
29
const restApiName: string = <string> this._env.REST_API_NAME;
30
const stageName: string = <string> this._env.STAGE_NAME;
31
const title: string = <string> this._env.API_INFO_TITLE;
32
const version: string = <string> this._env.API_INFO_VERSION;
33
+ /* tslint:enable:no-unnecessary-type-assertion */
34
35
return this._repo.getRestApiId(stageName, restApiName)
36
.then((restApiId: string | undefined) => {
0 commit comments