swagger-api / swagger-api/swagger-codegen
[JavaScript] Add support for Fetch
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
Simliar to Typescript, we want to add support of Fetch to JS API client with a library option so that developers can choose which one to use: superagent (default) or fetch.
Swagger-codegen version
Latest master
Suggest a Fix
If anyone wants to work on this enhancement, let us know and we'll show you some good starting points.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the JavaScript API client generation templates and compare the existing TypeScript support for a selectable library. Trace how the library option selects superagent, then determine where Fetch support and its documentation or tests belong. Done means generated JavaScript clients can choose Fetch or the default superagent behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100