I use the project https://github.com/mpociot/laravel-apidoc-generator to create documentation.
There were several problems.
It does not display in the request parameters the validation rules for the array element, i.e.
'array.*.item' => 'required|bool'It does not display custom rules for fields, although the rules themselves
__toStringmethod is described.
On the first problem - in this file, the getParameters method gets the parameters from the validator, but all but the rules for the elements of the array.
How can I get the validator to return all the rules that are described for the route?