Class HttpPatchAttribute
use this attribute to specify a PATCH route for an endpoint
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.Attributes.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class HttpPatchAttribute : HttpAttribute
Constructors
HttpPatchAttribute(params string[])
use this attribute to specify a PATCH route for an endpoint
Declaration
public HttpPatchAttribute(params string[] routes)
Parameters
Type | Name | Description |
---|---|---|
string[] | routes | the routes for the endpoint |