swagger-api / swagger-api/swagger-codegen
Unable to work with Retrofit2 in 3.0.3 formula
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I am unable to write exception since i found a workaround solution but it was throwing handlebar exception in api_test_mustace for retrofit2

Code that i ran;
brew install swagger-codegen
swagger-codegen generate -i http://178.211.54.214:5000/swagger/v1/swagger.json -l java -Dmodels,apis --library retrofit2
I workaround with install lastest version.
brew install swagger-codegen --HEAD
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 by running the provided swagger-codegen command with --library retrofit2 against the linked Swagger URL, using version 3.0.3 and then --HEAD. Inspect the generated API tests around api_test_mustace and the reported handlebar exception; done means the Retrofit2 generation no longer produces that failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100