Код: Выделить всё
/**
* Class ClientController
*
* @package api\controllers
*
* @OA\SecurityScheme(
* securityScheme="bearerAuth",
* in="header",
* name="bearerAuth",
* type="http",
* scheme="bearer",
* bearerFormat="JWT",
* ),
* @OA\Tag(
* name="client",
* description="Client crud methods"
* ),
* @OA\Post(
* path="/client/create",
* summary="Create a new client record",
* tags={"client"},
* security={"bearerAuth"},
* @OA\RequestBody(
* required=true,
* @OA\JsonContent(ref="#/components/schemas/Client"),
* ),
* @OA\Response(
* response=200,
* description="Success"
* ),
* @OA\Response(
* response=402,
* description="Validation error"
* ),
* ),
*/