swagger-api/swagger-codegen

Which client language support XML payload (response)?

Open

#5.646 geöffnet am 15. Mai 2017

Auf GitHub ansehen
 (8 Kommentare) (1 Reaktion) (0 zugewiesene Personen)HTML (5.474 Forks)batch import
Client: JavaEnhancement: FeatureGeneral: Questionhelp wanted

Repository-Metriken

Stars
 (12.701 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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)

Contributor Guide