diff --git a/src/Entity/DocumentObject.php b/src/Entity/DocumentObject.php index 171cf58..ecaffa0 100644 --- a/src/Entity/DocumentObject.php +++ b/src/Entity/DocumentObject.php @@ -30,6 +30,9 @@ use Vich\UploaderBundle\Mapping\Annotation as Vich; new Get(), new GetCollection(), new Post( + formats: [ + 'multipart' => ['multipart/form-data'] + ], controller: CreateDocumentObjectAction::class, openapi: new Model\Operation( requestBody: new Model\RequestBody(