You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/filters.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -333,6 +333,8 @@ class User {}
333
333
334
334
Note that when `castToNativeType` is enabled, API Platform infers type validation from the JSON Schema.
335
335
336
+
The `ApiPlatform\Validator\Util\ParameterValidationConstraints` trait can be used to automatically infer validation constraints from the JSON Schema and OpenAPI definitions of a parameter.
337
+
336
338
Here is the list of validation constraints that are automatically inferred from the JSON Schema and OpenAPI definitions of a parameter.
0 commit comments