swagger-api/swagger-codegen

Which client language support XML payload (response)?

Open

#5 646 ouverte le 15 mai 2017

Voir sur GitHub
 (8 commentaires) (1 réaction) (0 assignés)HTML (5 474 forks)batch import
Client: JavaEnhancement: FeatureGeneral: Questionhelp wanted

Métriques du dépôt

Stars
 (12 701 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

As the title say Which client language support XML payload (response)? i'm trying with the java client but i'm getting

io.swagger.client.ApiException: Content type "application/xml" is not supported for type: class io.swagger.client.model.Collection
	at io.swagger.client.ApiClient.deserialize(ApiClient.java:850)
	at io.swagger.client.ApiClient.handleResponse(ApiClient.java:1045)
	at io.swagger.client.ApiClient.execute(ApiClient.java:972)
	at io.swagger.client.api.CatalogApi.restfulShoppingTagsGetWithHttpInfo(CatalogApi.java:304)
	at io.swagger.client.api.CatalogApi.restfulShoppingTagsGet(CatalogApi.java:289)
	at io.swagger.client.api.TestCall.main(TestCall.java:29)

Guide contributeur