From 450a10d72bb6f70ac965068e2d4656cdbdd03ab1 Mon Sep 17 00:00:00 2001 From: igo95862 Date: Wed, 9 Jun 2021 17:46:40 +0300 Subject: [PATCH] api_paths: Added new task related paths --- codegen/api_paths/task.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/codegen/api_paths/task.go b/codegen/api_paths/task.go index f2f8e83..54fde35 100644 --- a/codegen/api_paths/task.go +++ b/codegen/api_paths/task.go @@ -13,4 +13,20 @@ var TaskPaths = []PathSpec{ Description: "Create new task", }, }, + { + Path: "/api/v4/teams/{team_id}/tasks/{task_id}", + Get: &OperationSpec{ + Responce: tdapi.Task{}, + Description: "Get task", + }, + Post: &OperationSpec{ + Request: tdapi.Task{}, + Responce: tdapi.Task{}, + Description: "Update task", + }, + Delete: &OperationSpec{ + Responce: tdapi.Task{}, + Description: "Delete task", + }, + }, }