swagger-api/swagger-codegen

Client csharp: Use System.Net.Http.HttpClient instead of RestSharp

Open

#1,889 opened on Jan 14, 2016

View on GitHub
 (38 comments) (21 reactions) (0 assignees)HTML (5,474 forks)batch import
Client: C-SharpEnhancement: Featurehelp wanted

Repository metrics

Stars
 (12,701 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi, HttpClient comes with the system and it is very feature rich. It would be nice for the generator to be able to generate code that uses HttpClient instead of RestSharp. That way there will be one less external dependency. I'm willing to write the code if nobody else is doing it.

Contributor guide