swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
16.98k stars 6.03k forks source link

Unable to work with Retrofit2 in 3.0.3 formula #9070

Open emreaktrk opened 5 years ago

emreaktrk commented 5 years ago

I am unable to write exception since i found a workaround solution but it was throwing handlebar exception in api_test_mustace for retrofit2 screen shot 2019-01-29 at 12 23 07

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

VB10 commented 5 years ago

have same problem.. +up