Is there an existing issue for this?
Describe the bug
[Required] public required string ShouldHaveMinLength { get; init; } is marked as required but doens't have a minlength. See SampleModel.ShouldNotHaveRegexPattern
Expected Behavior
These should just work out of the box.
Steps To Reproduce
Clone https://github.com/exceptionless/aspnet-core-net10-issues# and run it, hit the open api json endpoint.
Exceptions (if any)
No response
.NET Version
10 preview 6
Anything else?
MacOS Latest, Rider/VS Code
#62150