openapi-generator-cli download 5.3.0 every time making it slow to run
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- nodejs, typescript
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.
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?
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 208
- Avg merge
- 9h 35m
- Merged PRs (30d)
- 3
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
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.
More from OpenAPITools/openapi-generator-cli
-
[FEATURE] consider using caret ranges instead of pinned exact versions for runtime dependenciesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
[BUG] JAVA_OPTS is incorrectly evaluatedMay be free again @kay-schecker claimed this 117 days ago, and no pull request is open. Openbug
OpenAPITools/openapi-generator-cli#1213 · 1 assignee ·
-
[BUG] Proxy configuration of NPM not used when downloading .jar via version managerMay be free again @kay-schecker claimed this 172 days ago, and no pull request is open. Openbug
OpenAPITools/openapi-generator-cli#1190 · 1 assignee ·
-
[BUG] openapiGeneratorIgnoreList is missing from schemaMay be free again @kay-schecker claimed this 222 days ago, and no pull request is open. Openbug
OpenAPITools/openapi-generator-cli#1138 · 1 comment · 1 assignee ·
-
[BUG] Environment variable not found (missing .env loading)May be free again @kay-schecker claimed this 261 days ago, and no pull request is open. Openbug
OpenAPITools/openapi-generator-cli#1094 · 1 comment · 1 assignee ·
All issues in OpenAPITools/openapi-generator-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
melgarafael/DeskcommCRM#1812 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
prisma/prisma-cli#309 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gregwebs/pi-quota-dispatcher#26 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
openwatersio/slackwater.xyz#124 ·
Maintainers usually reply within 1 day
-
agent-reported area/browser area/docs documentation good first issue hacktoberfest help wanted P2
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 2 days