OpenAPITools / OpenAPITools/openapi-generator-cli
openapi-generator-cli download 5.3.0 every time making it slow to run
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 208
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 6
Description
In my project, we have the following npm task defined:
"generate": "openapi-generator-cli generate -i ../../../specs/openapi.yaml -g typescript-fetch -o src/api --additional-properties=typescriptThreePlus=true"
Whenever I run the yarn generate command, the following lines get printed to console:
Download 5.3.0 ...
Downloaded 5.3.0
This happens every time I run yarn generate. This downloading takes almost 30 seconds to run -- which is a long time. So, I wanted to make this task skip downloading. How do I do that?
Contributor guide
No contributing guide indexed for this repository
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 from the openapi-generator-cli generate entry point used by the yarn generate task and trace how version 5.3.0 is downloaded. Check the package's download or cache handling and existing tests, if present. Done means repeated runs no longer download 5.3.0 while generation still succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100