Fixed a csharp client generator bug. The csharp client generator now outputs a constructor for types that allows setting property/fields. Bumped package version to 1.5.7

This commit is contained in:
2023-05-29 06:47:52 -07:00
parent 755a2399e4
commit a630f0e334
5 changed files with 104 additions and 16 deletions

View File

@ -219,7 +219,7 @@ namespace MontoyaTech.Rest.Net.Example
}
[RouteGroup("Stream")]
[RouteResponse(typeof(FileStream), Parameter = true)]
[RouteResponse(typeof(MemoryStream), Parameter = false)]
public static HttpListenerResponse Download(HttpListenerContext context)
{
return context.Response.WithStatus(HttpStatusCode.OK).WithText("Hello world");