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:
2023-02-06 10:46:38 -08:00
parent ed1d10ba9d
commit 2076a1d02b
6 changed files with 434 additions and 413 deletions

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);