This commit is contained in:
2023-05-23 14:05:09 +03:00
parent 5da6746cc4
commit c834f7da7a
5 changed files with 56 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class CommentController extends ApiController
* @OA\MediaType(
* mediaType="multipart/form-data",
* @OA\Schema(
* required={"text"},
* required={"text", "entity_type", "entity_id"},
* @OA\Property(
* property="text",
* type="string",
@ -93,6 +93,11 @@ class CommentController extends ApiController
* description="Идентификатор сущности",
* ),
* @OA\Property(
* property="parent_id",
* type="integer",
* description="Идентификатор родительского комментария",
* ),
* @OA\Property(
* property="status",
* type="integer",
* description="Статус комментария",

View File

@ -79,6 +79,11 @@ class TaskController extends ApiController
* type="integer",
* description="Идентификатор создателя задачи",
* ),
* @OA\Property(
* property="executor_id",
* type="integer",
* description="Идентификатор исполнителя задачи",
* ),
* ),
* ),
* ),
@ -271,6 +276,11 @@ class TaskController extends ApiController
* nullable=false,
* ),
* @OA\Property(
* property="executor_id",
* type="integer",
* description="Идентификатор исполнителя задачи",
* ),
* @OA\Property(
* property="task_id",
* type="integer",
* description="Идентификатор задачи",