RicoSuter/NSwag
View on GitHubGenerate 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
- (6,291 stars)
- PR merge metrics
- (No merged PRs in 30d)
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?