laravel-apidoc-generator
laravel-apidoc-generator copied to clipboard
Automatically extract the parameters from FormRequest
Hello,
I used laravel-apidoc-generator v2 and it extracted the parameters from:
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'email' => 'required|email',
'password' => 'required',
];
}
I switched to version 4.4 and the parameters are missing in the documentation. Any help is very appreciated! Thanks!
the same problem
3.0.0版已经移除相关功能,不再支持,改成@bodyParam see => https://github.com/mpociot/laravel-apidoc-generator/blob/master/CHANGELOG.md#30---sunday-21-october-2018 see => https://github.com/mpociot/laravel-apidoc-generator/issues/343
https://scribe.readthedocs.io/en/latest/whats-new.html#formrequest-support-is-back