OpenAPITools / OpenAPITools/openapi-generator
[REQ] Feature Request - provide skipServicesGeneration parameter option for angular-typescript generator
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Problem
Generating angular services which are never used can cause some issues. Apart from longer time to compute the files, and more disk space used (especially on CI), there might be some conflict with namespaces or angular changes within those services which will make only life harder when spending time on resolving something we are not actually using at all.
Solution
It would be nice to have an option parameter to only generate model and stop producing services
something like
skipServicesGeneration
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 by locating the angular-typescript generator and its service-generation entry point. Check how generator options are declared and how model and service output are tested. Done means the new skipServicesGeneration option is accepted and prevents service files while still generating models, with tests covering both settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100