swagger-api / swagger-api/swagger-codegen

[typescript] suggestion to add a new generator called "typescript-browser"

Open
#8,145 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I've created a fork of the typescript-fetch generator, slimmed it down, made it have zero dependencies and added a few features as well as fix some bugs. My motivation was primarily to learn more about swagger-codegen and use it in some side projects but I think the resulting generator is very useful and has some perks over the other typescript browser code generators, more details in the README.md

I've called it typescript-browser and i'm interested if others would find it useful or if it's a possibility to merge it into swagger-codegen itself?

edit: moments after posting this issue, i realised i should probably send this to a mailing list or something instead?

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 reviewing the linked README for the external typescript-browser fork and compare it with the existing typescript-fetch generator. Determine whether the proposed generator fits swagger-codegen's generator structure and contribution process. Done would require a maintainer decision on whether this generator should be accepted or integrated.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.