swagger-api / swagger-api/swagger-codegen

[ERR!] GitHub API: GitHub rate limit reached.

Open
#6,297 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: TypeScript Enhancement: General help wanted
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description
> petstore-typescript-node-sample@1.0.0 postinstall /Users/travis/build/swagger-api/swagger-codegen/samples/client/petstore/typescript-angular
> tsd reinstall --overwrite
-> running reinstall

[ERR!] GitHub API: GitHub rate limit reached.
    To increase the limit use GitHub authentication.
    See: https://github.com/DefinitelyTyped/tsd#tsdrc

The issue was cause by typescript-angular petstore client still using tsd, which should be replaced by typings.

Swagger-codegen version

Latest master

Related issues/PRs

https://github.com/swagger-api/swagger-codegen/pull/6178

Suggest a fix/enhancement

Apply a fix similar to https://github.com/swagger-api/swagger-codegen/pull/6178

If anyone wants to work on this, please reply to let us know.

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 in samples/client/petstore/typescript-angular and inspect the postinstall command that runs tsd reinstall --overwrite. Compare the requested change with swagger-codegen/pull/6178 and replace the remaining tsd usage with typings. Done means the TypeScript Angular petstore client no longer hits the GitHub API rate limit during postinstall.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.