Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion laravel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,8 @@ filters will be automatically documented:
![Filters documentation](images/filters-documentation.png)

On top of that, some validation rules are automatically added based on the given JSON Schema. You
can customize the set of rules inside the `constraints` option of a `QueryParameter`.
can customize the set of rules inside the `constraints` option of a `QueryParameter`: these rules
replace the generated ones, so add `required` to them when the parameter is required.

API Platform comes with several filters dedicated to Laravel, [check them out](filters.md)!

Expand Down
Loading