Open Micka33 opened 8 years ago
@Micka33 currently the Ruby API client (and also API client in other languages) only supports deserializing JSON response into models.
For your case, do you mind sharing what the XML response looks like? and do you expect the XML response automatically desserialize into proper models or you're simply looking for the raw XML response so that you can process it further?
Hi @wing328. Just letting you know that I will come back to you soon, about this issue.
Hi @wing328 Is xml serializer included in v2.1.5 for Ruby API client?
@ShrutiRuparel Ruby API client includes JSON serializer but not XML serializer but we welcome contribution to add the support for XML serializer for Ruby API client.
Please let us know if you've cycle to contribute and I'll show you where to start.
I expect the returned value to be an XML object. however I can't achieve this because the accepted returned values are only JSON. I am not clear so here the concerned code :
https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/resources/ruby/api_client.mustache#L91
This means that, (AFAIK) with the ruby client, I can only request an API that returns JSON.