OpenAPITools / OpenAPITools/openapi-generator

[REQ] Feature Request - provide skipServicesGeneration parameter option for angular-typescript generator

Open
#7,972 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.