swagger-api/swagger-codegen

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

Ouverte

#2 848 ouverte le 12 mai 2016

 (5 commentaires) (0 réaction) (0 personne assignée)HTML (5 474 forks)batch import
Client: JavaEnhancement: Generalhelp wanted

Métriques du dépôt

Stars
 (12 701 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur