NelmioApiDocBundle file parameter
используется https://github.com/nelmio/NelmioApiDocBundle
use OpenApi\Annotations as OA;
/**
* @Route("/api/some", methods={"POST"})
*
* @OA\Parameter(
* name="file",
* in="path",
* description="File",
* required=true,
* @OA\Schema(type="file"),
* )
*/
Вижу превью
Но при загрузке
/** @var UploadedFile $file */
$file = $request->files->get('file');
$file пустой
Как корректно настроить анотации, чтобы через веб интерфейс можно было загрузить файл?
