OpenAPITools / OpenAPITools/openapi-generator

typescript-node: Replace the deprecated request package with something else

Open
#6,264 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

The typescript-node generator generates code which is dependent on the request package.
This package got deprecated in February this year.
The proposal is to replace this package with something non-deprecated. Possible list of similar packages is mentioned at the below link.
https://github.com/request/request/issues/3143

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the typescript-node generator templates and dependency declarations, then inspect how generated clients use the deprecated request package. Review the replacement options in the linked request issue and verify that generated TypeScript clients no longer depend on request.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
api, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.