/**
* @OA\Post(
* tags={"Files"},
* description="Envia os arquivos especificados para o servidor.",
* path="/files/upload",
* security={{"bearerAuth":{}}},
* @OA\RequestBody(
* @OA\MediaType(
* mediaType="multipart/form-data",
* @OA\Schema(
* type="object",
* @OA\Property(
* description="file to upload",
* property="files[]",
* type="array",
* @OA\Items(
* type="string",
* format="binary",
* ),
* )
* )
* )
* ),
* @OA\Response(
* response=200,
* description="Successful operation",
* ),
* @OA\Response(
* response=401,
* description="Unauthenticated",
* ),
* @OA\Response(
* response=403,
* description="Forbidden"
* )
* )
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\BinaryFileResponse
*/
Created
October 7, 2022 21:38
-
-
Save lucenarenato/f1392f24545b885ca40b90a4365096fb to your computer and use it in GitHub Desktop.
Exemplo File Upload Using Multipart Form Data
lucenarenato
commented
Oct 7, 2022
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment