RicoSuter/NSwag
Generate a Rest Client with XML Deserialization and not JSON
Open
#2,082 opened on Apr 3, 2019
help wantedproject: NSwag.CodeGeneration.CSharp (Clients)type: enhancement
Repository metrics
- Stars
- (7,358 stars)
- PR merge metrics
- (PR metrics pending)
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?