swagger-api / swagger-api/swagger-codegen
[Android] use additional properties to manage Android version numbers more easily
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
As discussed in https://github.com/swagger-api/swagger-codegen/pull/5250, we want to leverage additional properties to more easily manage Android version numbers in the gradle files generated as part of the Android API client.
We want to replace android version number with {{androidVersionNumber}} tag in the mustache templates so that users can set it directly via --additional-properties when generating the API clients.
Swagger-codegen version
Latest master
Suggest a Fix
If anyone has questions/suggestions or wants to work on this enhancement, please reply to let us know. Thank you.
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 the Android API client Mustache templates and inspect how additional properties are passed into generated Gradle files. Replace the hard-coded Android version value with the androidVersionNumber tag, then verify that setting it through --additional-properties changes the generated client version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100