RicoSuter/NSwag
View on GitHubGenerate a Rest Client with XML Deserialization and not JSON
Open
#2082 opened on Apr 3, 2019
help wantedproject: NSwag.CodeGeneration.CSharp (Clients)type: enhancement
Description
I am interfacing with an "external web API server" that returns only xml content-type. I have generated a rest client with NswagStudio but an exception is always thrown because of the response type which is XML and the deserialisation type which is JSON.
Is there any way to generate a client with XML Deserialisation?