-
-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Hello!
I have the next type:
public record WebRequest
{
public BigInteger BigIntegerField { get; set; }
}and fluent validation for it:
public class WebRequestValidator : AbstractValidator<WebRequest>
{
public WebRequestValidator()
{
RuleFor(x => x.BigIntegerField)
.InclusiveBetween(new BigInteger(0), new BigInteger(12345678900)); // <-- this is just example
}
}Now no restrictions are displayed in swagger for this field of type BigInteger.
Could you add displaying minimum and maximum restrictions for fields of type BigInteger, like for other numeric types (int, long, double, decimal)?

Metadata
Metadata
Assignees
Labels
No labels