Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: timeout error #1934

Closed
wants to merge 1 commit into from
Closed

fix: timeout error #1934

wants to merge 1 commit into from

Conversation

funny-cat-happy
Copy link

When the input is a link and the json file is very big, it will result in an error.

'This operation was aborted\n' +
    '    at download (D:\\openapi-typescript-codegen\\node_modules\\@apidevtools\\json-schema-ref-parser\\dist\\lib\\resolvers\\http.js:113:15)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)',

or socket hang up error.
This problem also occurs with the same type of tools. cyclosproject/ng-swagger-gen#217
So I add a timeout option to solve the problem.

@funny-cat-happy funny-cat-happy closed this by deleting the head repository Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant