Class EndpointSummary<TRequest>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public class EndpointSummary<TRequest> : EndpointSummary
Type Parameters
Name | Description |
---|---|
TRequest | the type of the request dto |
Methods
RequestParam(Expression<Func<TRequest, Object>>, String)
add a description for a request param for a given property of the request dto
Declaration
public void RequestParam(Expression<Func<TRequest, object>> property, string description)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<TRequest, System.Object>> | property | a member expression for specifying which property the description is for |
System.String | description | the description text |