swagger-api / swagger-api/swagger-codegen
[ERR!] GitHub API: GitHub rate limit reached.
Nobody has claimed this yet.
- 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
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 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