/**
*Send Email method
* @OA\Post (
* path="/v1/sendEmail",
* operationId="sendEmail",
* summary="Send email",
* description="",
* @OA\RequestBody(
* @OA\MediaType(
* mediaType="application/json",
* @OA\Schema(
* type="array",
* @OA\Items(
* @OA\Property(
* property="action",
* type="string",
* ),
* ),
* ),
* ),
* ),
* @OA\Response(
* response=200,
* description="OK",
* @OA\MediaType(
* mediaType="application/json",
* @OA\Schema(
* @OA\Property(
* property="result",
* type="string"
* ),
* @OA\Property(
* property="message",
* type="string"
* ),
* example={"result": "Ok", "message": "Success"}
* )
* )
* )
* )
*
*
*
* @param Request $request
* @return JsonResponse
*/
public function sendEmail(Request $request): JsonResponse
{
return response()->json('ok');
}
/**
* @OA\Property(
* title="rootCauses",
* description="rootCauses",
* format="array",
* example=1,
* @OA\Items(
* type="object",
* @OA\Property(
* property="id",
* type="integer"
* ),
* @OA\Property(
* property="name",
* type="string"
* ,
* @OA\Property(
* property="values",
* type="array",
* @OA\Items(
* type="object",
* @OA\Property(
* property="id",
* type="integer"
* ),
* @OA\Property(
* property="name",
* type="string",
* ),
* ),
* ),
* )
*
* @var array
*/
public $rootCauses;