How about emitting poco based on response content?

28 views
Skip to first unread message

Aaron Anodide

unread,
Jun 2, 2012, 7:08:51 PM6/2/12
to RestSharp
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...

John Sheehan

unread,
Jun 13, 2012, 12:50:12 PM6/13/12
to rest...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages