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:
@ -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");
|
||||
|
Reference in New Issue
Block a user