Merge remote-tracking branch 'origin/master'

This commit is contained in:
iIronside committed 2023-10-10 15:06:28 +03:00
commit f9e22f2d2e
4 files changed
+49 -3

No files matched your search

@@ -137,6 +137,15 @@ class TaskController extends ApiController
* type="integer",
* )
* ),
* @OA\Parameter(
* name="expand",
* in="query",
* example="column,timers",
* description="В этом параметре по необходимости передаются поля, которые нужно добавить в ответ сервера, сейчас доступно только поля <b>column</b>, <b>timers</b>",
* @OA\Schema(
* type="string",
* )
* ),
* @OA\Response(
* response=200,
* description="Возвращает массив объектов Задач",
@@ -184,6 +193,15 @@ class TaskController extends ApiController
* type="integer",
* )
* ),
* @OA\Parameter(
* name="expand",
* in="query",
* example="column,timers",
* description="В этом параметре по необходимости передаются поля, которые нужно добавить в ответ сервера, сейчас доступно только поля <b>column</b>, <b>timers</b>",
* @OA\Schema(
* type="string",
* )
* ),
* @OA\Response(
* response=200,
* description="Возвращает массив объектов Задач",
@@ -233,6 +251,15 @@ class TaskController extends ApiController
* type="integer",
* )
* ),
* @OA\Parameter(
* name="expand",
* in="query",
* example="column,timers",
* description="В этом параметре по необходимости передаются поля, которые нужно добавить в ответ сервера, сейчас доступно только поля <b>column</b>, <b>timers</b>",
* @OA\Schema(
* type="string",
* )
* ),
* @OA\Response(
* response=200,
* description="Возвращает объект Задачи",
+3
View File
@@ -119,6 +119,9 @@ class Project extends \common\models\Project
];
}
/**
* @return string[]
*/
public function extraFields(): array
{
return ['columns',];