swagger-api / swagger-api/swagger-codegen
jackson-version never updated in handlebars swagger-codegen-cli
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
Downloaded Jar
https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.25/swagger-codegen-cli-3.0.25.jar
There are two resttemplate\pom.mustache files in the Jar.
- swagger-codegen-cli.jar\handlebars\Java\libraries\resttemplate\pom.mustache
- swagger-codegen-cli.jar\Java\libraries\resttemplate\pom.mustache
The pom.mustache inside handlebars seems to be never updated.


Swagger-codegen version
swagger-codegen-cli-3.0.25.jar
Command line used for generation
java -jar swagger-codegen-cli.jar generate --input-spec swagger.yaml ^
-D hideGenerationTimestamp=true,java8=true,dateLibrary=java8 ^
--lang java --library resttemplate --template-engine handlebars ^
--api-package com.de.api --model-package com.de.model --invoker-package com.de.invoker ^
--group-id com.de --artifact-id swagger-codegen-apiclient --artifact-version 1.0.0 ^
--output swagger-codegen-apiclient
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
Compare the two Java resttemplate/pom.mustache files at the paths linked in the issue, focusing on the jackson-version entries. Start by reading the handlebars template in swagger-codegen-generators and the corresponding Java template in swagger-codegen, then verify that the generated CLI includes the intended updated value for both template engines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100