Skip to content

Commit 8b7afb0

Browse files
author
Andrey Isypov
committed
timeout changed from 5000 to 60000
1 parent 118255c commit 8b7afb0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"docker": "docker build -t eeelenbaas/openapi-typescript-codegen ."
6161
},
6262
"dependencies": {
63-
"@apidevtools/json-schema-ref-parser": "^11.5.4",
63+
"@apidevtools/json-schema-ref-parser": "11.2.1",
6464
"camelcase": "^6.3.0",
6565
"commander": "^12.0.0",
6666
"fs-extra": "^11.2.0",

src/utils/getOpenApiSpec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ import { exists } from './fileSystem';
1111
*/
1212
export const getOpenApiSpec = async (___location: string): Promise<any> => {
1313
const absolutePathOrUrl = (await exists(___location)) ? resolve(___location) : ___location;
14-
return await RefParser.bundle(absolutePathOrUrl, absolutePathOrUrl, {});
14+
return await RefParser.bundle(absolutePathOrUrl, absolutePathOrUrl, { resolve: { http: { timeout: 60000 } } });
1515
};

0 commit comments

Comments
 (0)