Broke up RestClientGenerator so that custom generators for other languages can be created or the C# one could be modified for custom use cases.
This commit is contained in:
1 parent
ed1d10ba9d
commit
2076a1d02b
6 files changed
+434
-413
No files matched your search
@@ -37,7 +37,7 @@ namespace MontoyaTech.Rest.Net.Example
|
||||
new Route(HttpRequestMethod.Get, "/auth/", Json)
|
||||
);
|
||||
|
||||
string code = RestClientGenerator.GenerateCSharpClient(listener.Routes);
|
||||
string code = listener.GenerateCSharpClient();
|
||||
|
||||
Console.WriteLine(code);
|
||||
|
||||
|
||||
Reference in new issue
Block a user