Skip to content

Commit 17a674d

Browse files
committed
Added description accidently removed in review
1 parent 76734fd commit 17a674d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aspnetcore/fundamentals/minimal-apis.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ When a parameter to a Minimal API endpoint is a class or record type, validation
8686
public record Product(
8787
[Required] string Name,
8888
[Range(1, 1000)] int Quantity);
89+
```
90+
Developers customize the behavior of the validation system by:
8991

9092
* Creating custom [`[Validation]`](xref:System.ComponentModel.DataAnnotations.ValidationAttribute) attribute implementations.
9193
* Implementing the [`IValidatableObject`](xref:System.ComponentModel.DataAnnotations.IValidatableObject) interface for complex validation logic.

0 commit comments

Comments
 (0)