Class RestParamDefinition
One parameter declared on a REST verb with Param(...): described in the OpenAPI document
always, enforced only when client request validation is on.
public sealed record RestParamDefinition : IEquatable<RestParamDefinition>
Inheritance
Implements
Properties
DataType
A value that does not convert to this type is answered with 400.
public RestParamDataType DataType { get; init; }
Name
Parameter name: the template segment, the query key or the header name.
public string Name { get; init; }
Constructors
RestParamDefinition(string, RestParamType, bool, RestParamDataType, string?)
One parameter declared on a REST verb with Param(...): described in the OpenAPI document