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="Статус комментария",