I think it might be productive to combine the functionality of a code
generator with the rest library since rest itself lacks something like
a wsdl.
I'm thinking as I was coding to a rest service for the first time it
would be efficient to say:
var client = new RestClient("
https://api.stackexchange.com/");
var request = new RestRequest("2.0/sites");
var response = client.Execute(request);
response.GenerateCode(...); // after this i'd include the output in my
project and have saved some typing...