[Java-PlayFramework] Fix names for the Controller interfaces

Open
#6,099 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
backend

Research direction

No file or test is named. Start by locating the Java Play Framework templates that generate the Controller interface and implementation names, then compare the generated output with the requested naming. Done means interfaces use "{{classname}}ControllerInterface" and implementations retain the intended implementation name.

Written by the indexing model from the issue text.

Description

Description

The name of the api interfaces are written as "{{classname}}ControllerImpInterfaces" and the implementation as "{{classname}}ControllerImp.

Swagger-codegen version

2.3.0-SNAPSHOT

Suggest a fix/enhancement

It would make more sense to call the interfaces as "{{classname}}ControllerInterface" without the word Imp in the middle.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

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.

More from swagger-api/swagger-codegen

All issues in swagger-api/swagger-codegen

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.