Open jerrylawson opened 8 years ago
@jerrylawson thanks for reporting the issue. Would you have cycle to contribute the enhancement?
Ref: https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md
For the time being, please generate Java API client with okthtp-gson
library instead, which should support PATCH operation.
Yes, I can contribute this change
@jerrylawson do you need any help with the change? Let us know.
I have a fix for this. I am assuming no one else is working on it.
When running swagger-codegen with -l java and library jersey2, the generated ApiClient.java does not allow for "PATCH" in invokeAPI(). PATCH support should be added to the ApiClient.mustache: https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/resources/Java/libraries/jersey2/ApiClient.mustache