А
* @OA\Post(
* path="/api/posts",
* summary="Create new post",
* description="Create new post",
* operationId="postCreate",
* tags={"posts"},
* security={ {"apiAuth": {} }},
* @OA\RequestBody(
* @OA\MediaType(
* mediaType="multipart/form-data",
* @OA\Schema(
* allOf={
* @OA\Schema(
* @OA\Property(
* description="File",
* property="postFile",
* type="string", format="binary"
* )
* ),
* }
* )
* )
* ),
* @OA\Response(response=201,description="Successfully created"),
* @OA\Response(response=422, description="Error: Unprocessable Entity"),
* @OA\Response(
* response=200,
* description="successful operation",
* @OA\JsonContent(ref="#/components/schemas/PostSwagger"),
* )
* )
* @param StorePostRequest $request
* @return PostTransformer
*/