scramble icon indicating copy to clipboard operation
scramble copied to clipboard

Getting validation rules thru function gives error

Open sivarajd opened this issue 6 months ago • 0 comments

Using a method in controller class to specify rules gives error:

Validator::make($request->all(), $this->addressRules())->validate();

Error message in API document: ⚠️Cannot generate request documentation: Call to undefined method Dedoc\Scramble\Support\OperationExtensions\RulesExtractor\ValidateCallExtractor::addressRules()

sivarajd avatar Aug 10 '24 15:08 sivarajd