swagger-api / swagger-api/swagger-codegen
[Java] add API helper function to Java and Add licenseInfo to all Java lib template
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
- delete blank line between license and package line
- add {{>licenseInfo}} to all class file
- add function setApiEndpoint(String apiEndpoint) in
java/api.mustache. That will be convenient to set stage/test/prod endpoint URL.
#7413
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 with java/api.mustache and inspect the other Java library templates to identify class files and the current license/package formatting. Done means the blank line is removed, licenseInfo is added to every Java class template, and setApiEndpoint(String apiEndpoint) is present in java/api.mustache; verify the generated template output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100