NuGet package | Owin.Framework.Pages.Restful |
GitHub source | OwinFramework.Pages.Restful |
Generally speaking your service endpoints will have imputs that define their behavior. For example if your service endpoint produces an invoice in PDF format, then it might take in the customer reference number and the invoice number.
This REST framework defines an [EndpointParameter()] attribute that you can apply to service endpoints or the arguments of an endpoint method to define the data type of the parameter, the validation rules for this parameter and the ways that the caller can pass this parameter to the service.