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:
MattMo committed 2023-02-06 10:46:38 -08:00
1 parent ed1d10ba9d
commit 2076a1d02b
6 files changed
+434 -413

No files matched your search

+1 -1
View File
@@ -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);