swagger-api / swagger-api/swagger-codegen

Add CLI option to customize the Boolean getter

Open
#7,638 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: Java Enhancement: Feature help wanted Server: Java
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

To add another CLI option (booleanGetterPrefix) for Java generator based on the discussion in https://github.com/swagger-api/swagger-codegen/pull/7344#issuecomment-356924399

Swagger-codegen version

Latest master

Related issues/PRs

#7344
#7261

Suggest a fix/enhancement

If anyone wants to contribute the enhancement, please reply to let us know.

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 reading the discussion in PR #7344, especially the linked comment, and compare the related issue or PR #7261. Trace how CLI options reach the Java generator. Done means the booleanGetterPrefix option is accepted and changes generated Boolean getter naming as described in that discussion.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.