Skip to content

Commit 5457ca2

Browse files
authored
Updated README.md
1 parent 4318441 commit 5457ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ builder.Services.AddFluentValidationAutoValidation(configuration =>
9191
// Disable the built-in .NET model (data annotations) validation.
9292
configuration.DisableBuiltInModelValidation = true;
9393
94-
// Only validate controllers decorated with the `FluentValidationAutoValidation` attribute.
94+
// Only validate controllers decorated with the `AutoValidation` attribute.
9595
configuration.ValidationStrategy = ValidationStrategy.Annotations;
9696
9797
// Enable validation for parameters bound from `BindingSource.Body` binding sources.

0 commit comments

Comments
 (0)