Added ability to specify a RouteResponse and RouteRequest as a dynamic. Improved documentation and fixed some null checks that were missing with this change. Bumped package version to 1.7.6
This commit is contained in:
@ -211,7 +211,7 @@ namespace MontoyaTech.Rest.Net.Example
|
||||
}
|
||||
|
||||
[RouteGroup("Auth")]
|
||||
[RouteResponse(typeof(JObject))]
|
||||
[RouteResponse(Dynamic = true)]
|
||||
public static HttpListenerResponse Dynamic(HttpListenerContext context)
|
||||
{
|
||||
return context.Response.WithStatus(HttpStatusCode.OK).WithJson(777);
|
||||
|
Reference in New Issue
Block a user