Kind: Function
Source: atloria-monorepo/libs/parser-core/src/openapi/multipart.ts
Laravel: $request->file('avatar'), an UploadedFile type hint, or a validation rule that
says file/image/mimes. rules is the form-request/validate() rule text when resolved.
Signature
tsfunction detectLaravelUpload(handler: string, rules): MultipartBody | undefined
Parameters
| Name | Type |
|---|---|
handler | string |
rules | any |
Returns: MultipartBody | undefined
Was this page helpful?