swagger-api/swagger-codegen

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

Open

#2848 aperta il 12 mag 2016

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)HTML (5474 fork)batch import
Client: JavaEnhancement: Generalhelp wanted

Metriche repository

Star
 (12.701 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor