Merge remote-tracking branch 'origin/master'

This commit is contained in:
iIronside
2023-10-10 15:06:28 +03:00
4 changed files with 49 additions and 3 deletions

View File

@ -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="Возвращает объект Задачи",

View File

@ -119,6 +119,9 @@ class Project extends \common\models\Project
];
}
/**
* @return string[]
*/
public function extraFields(): array
{
return ['columns',];