OpenAPITools / OpenAPITools/openapi-generator

[REQ] Rename the openApiGenerators task to allow abbreviating gradle task names

Open
#8,088 0 comments 0 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

Gradle has an awesome feature that lets you abbreviate task names by the camel case of the task names (see https://docs.gradle.org/current/userguide/command_line_interface.html#sec:name_abbreviation)

So using that I would love to be able to run openApiGenerate task just by doing:

./gradlew oAG

but that doesn't work because you have 2 tasks that differ only by the end of the task name, openApiGenerate and openApiGenerators and oAG is not unique.

You should rename the rarely used openApiGenerators task to something like openApiGeneratorList

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

Search the Gradle task declarations for openApiGenerate and openApiGenerators, then review Gradle's task-name abbreviation behavior. Rename the rarely used task to openApiGeneratorList and verify that ./gradlew oAG uniquely invokes openApiGenerate.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.