Answer the question
In order to leave comments, you need to log in
Uploading multiple files in Swagger-Symfony?
Good afternoon!
Tell me, has anyone tried multiple loading in your API on the Symfony framework using Swagger? At the moment there is support for one via OpenApi\Annotations:
* @OA\Schema(
* required={"file"},
* @OA\Property(property="file", type="file", format="binary")
* )
* @OA\Schema(
* required={"file"},
* @OA\Property(
* property="files[]",
* type="array",
* format="binary",
* @OA\Items(type="file", format="binary")
* )
* )
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question