swagger-api/swagger-codegen

java/jersey2 ApiClient.mustache does not allow for http PATCH verb

Open

#2,848 opened on May 12, 2016

View on GitHub
 (5 comments) (0 reactions) (0 assignees)HTML (12,701 stars) (5,474 forks)batch import
Client: JavaEnhancement: Generalhelp wanted

Description

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

Contributor guide