Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

chore(docs): regenerate API documentation with updated schemas

Andrej Acevskiab508e5fcef4
diff --git a/apps/docs/content/docs/api/activities/createActivity.mdx b/apps/docs/content/docs/api/activities/createActivity.mdx
index 51e045dbd..5556cd49e 100644
--- a/apps/docs/content/docs/api/activities/createActivity.mdx
+++ b/apps/docs/content/docs/api/activities/createActivity.mdx
@@ -1,5 +1,6 @@
---
title: Create Activity
+description: Create a new activity (system-generated event)
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Create a new activity (system-generated event)
-
<APIPage document={"./openapi.json"} operations={[{"path":"/activity/create","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/activities/getActivities.mdx b/apps/docs/content/docs/api/activities/getActivities.mdx
index 88deb979f..7f767f270 100644
--- a/apps/docs/content/docs/api/activities/getActivities.mdx
+++ b/apps/docs/content/docs/api/activities/getActivities.mdx
@@ -1,5 +1,6 @@
---
title: Get Activities
+description: Get all activities for a specific task
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get all activities for a specific task
-
<APIPage document={"./openapi.json"} operations={[{"path":"/activity/{taskId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/comments/createComment.mdx b/apps/docs/content/docs/api/comments/createComment.mdx
index e76a9d368..bc03fdcae 100644
--- a/apps/docs/content/docs/api/comments/createComment.mdx
+++ b/apps/docs/content/docs/api/comments/createComment.mdx
@@ -1,5 +1,6 @@
---
title: Create Comment
+description: Create a new comment on a task
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Create a new comment on a task
-
<APIPage document={"./openapi.json"} operations={[{"path":"/activity/comment","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/comments/deleteComment.mdx b/apps/docs/content/docs/api/comments/deleteComment.mdx
index dca999159..224d8fbea 100644
--- a/apps/docs/content/docs/api/comments/deleteComment.mdx
+++ b/apps/docs/content/docs/api/comments/deleteComment.mdx
@@ -1,5 +1,6 @@
---
title: Delete Comment
+description: Delete a comment
full: true
_openapi:
method: DELETE
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Delete a comment
-
<APIPage document={"./openapi.json"} operations={[{"path":"/activity/comment","method":"delete"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/comments/updateComment.mdx b/apps/docs/content/docs/api/comments/updateComment.mdx
index bd0bbc6b1..3cd3e16e5 100644
--- a/apps/docs/content/docs/api/comments/updateComment.mdx
+++ b/apps/docs/content/docs/api/comments/updateComment.mdx
@@ -1,5 +1,6 @@
---
title: Update Comment
+description: Update an existing comment
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update an existing comment
-
<APIPage document={"./openapi.json"} operations={[{"path":"/activity/comment","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/getConfig.mdx b/apps/docs/content/docs/api/getConfig.mdx
index 83c417a94..3ad02c7b5 100644
--- a/apps/docs/content/docs/api/getConfig.mdx
+++ b/apps/docs/content/docs/api/getConfig.mdx
@@ -1,5 +1,6 @@
---
title: Get Config
+description: Get application settings and configuration
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get application settings and configuration
-
<APIPage document={"./openapi.json"} operations={[{"path":"/config","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/github-integration/createGitHubIntegration.mdx b/apps/docs/content/docs/api/github-integration/createGitHubIntegration.mdx
index fc038bfbb..ba62b35e6 100644
--- a/apps/docs/content/docs/api/github-integration/createGitHubIntegration.mdx
+++ b/apps/docs/content/docs/api/github-integration/createGitHubIntegration.mdx
@@ -1,5 +1,6 @@
---
title: Create Git Hub Integration
+description: Create a new GitHub integration for a project
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Create a new GitHub integration for a project
-
<APIPage document={"./openapi.json"} operations={[{"path":"/github-integration/project/{projectId}","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/github-integration/deleteGitHubIntegration.mdx b/apps/docs/content/docs/api/github-integration/deleteGitHubIntegration.mdx
index ca4f371a4..349da813f 100644
--- a/apps/docs/content/docs/api/github-integration/deleteGitHubIntegration.mdx
+++ b/apps/docs/content/docs/api/github-integration/deleteGitHubIntegration.mdx
@@ -1,5 +1,6 @@
---
title: Delete Git Hub Integration
+description: Delete GitHub integration for a project
full: true
_openapi:
method: DELETE
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Delete GitHub integration for a project
-
<APIPage document={"./openapi.json"} operations={[{"path":"/github-integration/project/{projectId}","method":"delete"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/github-integration/getGitHubAppInfo.mdx b/apps/docs/content/docs/api/github-integration/getGitHubAppInfo.mdx
index 89f949d3e..08f98a9a9 100644
--- a/apps/docs/content/docs/api/github-integration/getGitHubAppInfo.mdx
+++ b/apps/docs/content/docs/api/github-integration/getGitHubAppInfo.mdx
@@ -1,5 +1,6 @@
---
title: Get Git Hub App Info
+description: Get GitHub app configuration information
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get GitHub app configuration information
-
<APIPage document={"./openapi.json"} operations={[{"path":"/github-integration/app-info","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/github-integration/getGitHubIntegration.mdx b/apps/docs/content/docs/api/github-integration/getGitHubIntegration.mdx
index 17da86ec0..3bafb8ad0 100644
--- a/apps/docs/content/docs/api/github-integration/getGitHubIntegration.mdx
+++ b/apps/docs/content/docs/api/github-integration/getGitHubIntegration.mdx
@@ -1,5 +1,6 @@
---
title: Get Git Hub Integration
+description: Get GitHub integration for a project
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get GitHub integration for a project
-
<APIPage document={"./openapi.json"} operations={[{"path":"/github-integration/project/{projectId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/github-integration/importGitHubIssues.mdx b/apps/docs/content/docs/api/github-integration/importGitHubIssues.mdx
index 2578dbb44..8c85a29f4 100644
--- a/apps/docs/content/docs/api/github-integration/importGitHubIssues.mdx
+++ b/apps/docs/content/docs/api/github-integration/importGitHubIssues.mdx
@@ -1,5 +1,6 @@
---
title: Import Git Hub Issues
+description: Import GitHub issues as tasks
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Import GitHub issues as tasks
-
<APIPage document={"./openapi.json"} operations={[{"path":"/github-integration/import-issues","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/github-integration/listGitHubRepositories.mdx b/apps/docs/content/docs/api/github-integration/listGitHubRepositories.mdx
index 9b2d17f38..246f687e1 100644
--- a/apps/docs/content/docs/api/github-integration/listGitHubRepositories.mdx
+++ b/apps/docs/content/docs/api/github-integration/listGitHubRepositories.mdx
@@ -1,5 +1,6 @@
---
title: List Git Hub Repositories
+description: List all accessible GitHub repositories
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-List all accessible GitHub repositories
-
<APIPage document={"./openapi.json"} operations={[{"path":"/github-integration/repositories","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/github-integration/updateGitHubIntegration.mdx b/apps/docs/content/docs/api/github-integration/updateGitHubIntegration.mdx
index fb713ef8e..ce13302ea 100644
--- a/apps/docs/content/docs/api/github-integration/updateGitHubIntegration.mdx
+++ b/apps/docs/content/docs/api/github-integration/updateGitHubIntegration.mdx
@@ -1,5 +1,6 @@
---
title: Update Git Hub Integration
+description: Update GitHub integration settings
full: true
_openapi:
method: PATCH
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update GitHub integration settings
-
<APIPage document={"./openapi.json"} operations={[{"path":"/github-integration/project/{projectId}","method":"patch"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/github-integration/verifyGitHubInstallation.mdx b/apps/docs/content/docs/api/github-integration/verifyGitHubInstallation.mdx
index 24a02d01d..a67f29135 100644
--- a/apps/docs/content/docs/api/github-integration/verifyGitHubInstallation.mdx
+++ b/apps/docs/content/docs/api/github-integration/verifyGitHubInstallation.mdx
@@ -1,5 +1,6 @@
---
title: Verify Git Hub Installation
+description: Verify GitHub app installation for a repository
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Verify GitHub app installation for a repository
-
<APIPage document={"./openapi.json"} operations={[{"path":"/github-integration/verify","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/globalSearch.mdx b/apps/docs/content/docs/api/globalSearch.mdx
index 133e05886..681c3b394 100644
--- a/apps/docs/content/docs/api/globalSearch.mdx
+++ b/apps/docs/content/docs/api/globalSearch.mdx
@@ -1,5 +1,6 @@
---
title: Global Search
+description: Search across tasks, projects, workspaces, comments, and activities
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Search across tasks, projects, workspaces, comments, and activities
-
<APIPage document={"./openapi.json"} operations={[{"path":"/search","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/labels/createLabel.mdx b/apps/docs/content/docs/api/labels/createLabel.mdx
index 43d1b8e5b..bcbc120ac 100644
--- a/apps/docs/content/docs/api/labels/createLabel.mdx
+++ b/apps/docs/content/docs/api/labels/createLabel.mdx
@@ -1,5 +1,6 @@
---
title: Create Label
+description: Create a new label in a workspace
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Create a new label in a workspace
-
<APIPage document={"./openapi.json"} operations={[{"path":"/label","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/labels/deleteLabel.mdx b/apps/docs/content/docs/api/labels/deleteLabel.mdx
index f07afcc96..3fd0bbb06 100644
--- a/apps/docs/content/docs/api/labels/deleteLabel.mdx
+++ b/apps/docs/content/docs/api/labels/deleteLabel.mdx
@@ -1,5 +1,6 @@
---
title: Delete Label
+description: Delete a label by ID
full: true
_openapi:
method: DELETE
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Delete a label by ID
-
<APIPage document={"./openapi.json"} operations={[{"path":"/label/{id}","method":"delete"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/labels/getLabel.mdx b/apps/docs/content/docs/api/labels/getLabel.mdx
index cda4a732f..8542dd226 100644
--- a/apps/docs/content/docs/api/labels/getLabel.mdx
+++ b/apps/docs/content/docs/api/labels/getLabel.mdx
@@ -1,5 +1,6 @@
---
title: Get Label
+description: Get a specific label by ID
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get a specific label by ID
-
<APIPage document={"./openapi.json"} operations={[{"path":"/label/{id}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/labels/getTaskLabels.mdx b/apps/docs/content/docs/api/labels/getTaskLabels.mdx
new file mode 100644
index 000000000..228f7805b
--- /dev/null
+++ b/apps/docs/content/docs/api/labels/getTaskLabels.mdx
@@ -0,0 +1,16 @@
+---
+title: Get Task Labels
+description: Get all labels assigned to a specific task
+full: true
+_openapi:
+ method: GET
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Get all labels assigned to a specific task
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/label/task/{taskId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/labels/getWorkspaceLabels.mdx b/apps/docs/content/docs/api/labels/getWorkspaceLabels.mdx
index 9c434b73c..d1b7524cb 100644
--- a/apps/docs/content/docs/api/labels/getWorkspaceLabels.mdx
+++ b/apps/docs/content/docs/api/labels/getWorkspaceLabels.mdx
@@ -1,5 +1,6 @@
---
title: Get Workspace Labels
+description: Get all labels for a specific workspace
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get all labels for a specific workspace
-
<APIPage document={"./openapi.json"} operations={[{"path":"/label/workspace/{workspaceId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/labels/updateLabel.mdx b/apps/docs/content/docs/api/labels/updateLabel.mdx
index 9c1297481..46fcd4ed8 100644
--- a/apps/docs/content/docs/api/labels/updateLabel.mdx
+++ b/apps/docs/content/docs/api/labels/updateLabel.mdx
@@ -1,5 +1,6 @@
---
title: Update Label
+description: Update an existing label
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update an existing label
-
<APIPage document={"./openapi.json"} operations={[{"path":"/label/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/notifications/clearAllNotifications.mdx b/apps/docs/content/docs/api/notifications/clearAllNotifications.mdx
index 5d4cee0b3..4262c8856 100644
--- a/apps/docs/content/docs/api/notifications/clearAllNotifications.mdx
+++ b/apps/docs/content/docs/api/notifications/clearAllNotifications.mdx
@@ -1,5 +1,6 @@
---
title: Clear All Notifications
+description: Clear all notifications for the current user
full: true
_openapi:
method: DELETE
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Clear all notifications for the current user
-
<APIPage document={"./openapi.json"} operations={[{"path":"/notification/clear-all","method":"delete"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/notifications/createNotification.mdx b/apps/docs/content/docs/api/notifications/createNotification.mdx
index faff3b4dd..7a37b600a 100644
--- a/apps/docs/content/docs/api/notifications/createNotification.mdx
+++ b/apps/docs/content/docs/api/notifications/createNotification.mdx
@@ -1,5 +1,6 @@
---
title: Create Notification
+description: Create a new notification for a user
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Create a new notification for a user
-
<APIPage document={"./openapi.json"} operations={[{"path":"/notification","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/notifications/listNotifications.mdx b/apps/docs/content/docs/api/notifications/listNotifications.mdx
index 80f741c62..eaa8f2ad1 100644
--- a/apps/docs/content/docs/api/notifications/listNotifications.mdx
+++ b/apps/docs/content/docs/api/notifications/listNotifications.mdx
@@ -1,5 +1,6 @@
---
title: List Notifications
+description: Get all notifications for the current user
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get all notifications for the current user
-
<APIPage document={"./openapi.json"} operations={[{"path":"/notification","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/notifications/markAllNotificationsAsRead.mdx b/apps/docs/content/docs/api/notifications/markAllNotificationsAsRead.mdx
index 059b06c85..633024f4e 100644
--- a/apps/docs/content/docs/api/notifications/markAllNotificationsAsRead.mdx
+++ b/apps/docs/content/docs/api/notifications/markAllNotificationsAsRead.mdx
@@ -1,5 +1,6 @@
---
title: Mark All Notifications As Read
+description: Mark all notifications as read for the current user
full: true
_openapi:
method: PATCH
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Mark all notifications as read for the current user
-
<APIPage document={"./openapi.json"} operations={[{"path":"/notification/read-all","method":"patch"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/notifications/markNotificationAsRead.mdx b/apps/docs/content/docs/api/notifications/markNotificationAsRead.mdx
index 574b5e890..2029be28f 100644
--- a/apps/docs/content/docs/api/notifications/markNotificationAsRead.mdx
+++ b/apps/docs/content/docs/api/notifications/markNotificationAsRead.mdx
@@ -1,5 +1,6 @@
---
title: Mark Notification As Read
+description: Mark a specific notification as read
full: true
_openapi:
method: PATCH
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Mark a specific notification as read
-
<APIPage document={"./openapi.json"} operations={[{"path":"/notification/{id}/read","method":"patch"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/projects/createProject.mdx b/apps/docs/content/docs/api/projects/createProject.mdx
index dbebdbf99..089f9c48a 100644
--- a/apps/docs/content/docs/api/projects/createProject.mdx
+++ b/apps/docs/content/docs/api/projects/createProject.mdx
@@ -1,5 +1,6 @@
---
title: Create Project
+description: Create a new project in a workspace
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Create a new project in a workspace
-
<APIPage document={"./openapi.json"} operations={[{"path":"/project","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/projects/deleteProject.mdx b/apps/docs/content/docs/api/projects/deleteProject.mdx
index ba7a74626..5ed429838 100644
--- a/apps/docs/content/docs/api/projects/deleteProject.mdx
+++ b/apps/docs/content/docs/api/projects/deleteProject.mdx
@@ -1,5 +1,6 @@
---
title: Delete Project
+description: Delete a project by ID
full: true
_openapi:
method: DELETE
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Delete a project by ID
-
<APIPage document={"./openapi.json"} operations={[{"path":"/project/{id}","method":"delete"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/projects/getProject.mdx b/apps/docs/content/docs/api/projects/getProject.mdx
index c79acf7c0..5c77c57e3 100644
--- a/apps/docs/content/docs/api/projects/getProject.mdx
+++ b/apps/docs/content/docs/api/projects/getProject.mdx
@@ -1,5 +1,6 @@
---
title: Get Project
+description: Get a specific project by ID
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get a specific project by ID
-
<APIPage document={"./openapi.json"} operations={[{"path":"/project/{id}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/projects/listProjects.mdx b/apps/docs/content/docs/api/projects/listProjects.mdx
index 4ad3fee11..e4003cb14 100644
--- a/apps/docs/content/docs/api/projects/listProjects.mdx
+++ b/apps/docs/content/docs/api/projects/listProjects.mdx
@@ -1,5 +1,6 @@
---
title: List Projects
+description: Get all projects in a workspace
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get all projects in a workspace
-
<APIPage document={"./openapi.json"} operations={[{"path":"/project","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/projects/updateProject.mdx b/apps/docs/content/docs/api/projects/updateProject.mdx
index 8f4bab3cb..05c4e812b 100644
--- a/apps/docs/content/docs/api/projects/updateProject.mdx
+++ b/apps/docs/content/docs/api/projects/updateProject.mdx
@@ -1,5 +1,6 @@
---
title: Update Project
+description: Update an existing project
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update an existing project
-
<APIPage document={"./openapi.json"} operations={[{"path":"/project/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/createTask.mdx b/apps/docs/content/docs/api/tasks/createTask.mdx
index 211105825..0b8854923 100644
--- a/apps/docs/content/docs/api/tasks/createTask.mdx
+++ b/apps/docs/content/docs/api/tasks/createTask.mdx
@@ -1,5 +1,6 @@
---
title: Create Task
+description: Create a new task in a project
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Create a new task in a project
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/{projectId}","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/deleteTask.mdx b/apps/docs/content/docs/api/tasks/deleteTask.mdx
index 546e11efb..b2b7c9bab 100644
--- a/apps/docs/content/docs/api/tasks/deleteTask.mdx
+++ b/apps/docs/content/docs/api/tasks/deleteTask.mdx
@@ -1,5 +1,6 @@
---
title: Delete Task
+description: Delete a task by ID
full: true
_openapi:
method: DELETE
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Delete a task by ID
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/{id}","method":"delete"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/exportTasks.mdx b/apps/docs/content/docs/api/tasks/exportTasks.mdx
index 57cf86e8a..43308f49e 100644
--- a/apps/docs/content/docs/api/tasks/exportTasks.mdx
+++ b/apps/docs/content/docs/api/tasks/exportTasks.mdx
@@ -1,5 +1,6 @@
---
title: Export Tasks
+description: Export all tasks from a project
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Export all tasks from a project
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/export/{projectId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/getTask.mdx b/apps/docs/content/docs/api/tasks/getTask.mdx
index ec2d8fcce..445e0e226 100644
--- a/apps/docs/content/docs/api/tasks/getTask.mdx
+++ b/apps/docs/content/docs/api/tasks/getTask.mdx
@@ -1,5 +1,6 @@
---
title: Get Task
+description: Get a specific task by ID
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get a specific task by ID
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/{id}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/importTasks.mdx b/apps/docs/content/docs/api/tasks/importTasks.mdx
index a55dc0514..5a1bf430f 100644
--- a/apps/docs/content/docs/api/tasks/importTasks.mdx
+++ b/apps/docs/content/docs/api/tasks/importTasks.mdx
@@ -1,5 +1,6 @@
---
title: Import Tasks
+description: Import multiple tasks into a project
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Import multiple tasks into a project
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/import/{projectId}","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/listTasks.mdx b/apps/docs/content/docs/api/tasks/listTasks.mdx
index e7d282f17..59fd8d124 100644
--- a/apps/docs/content/docs/api/tasks/listTasks.mdx
+++ b/apps/docs/content/docs/api/tasks/listTasks.mdx
@@ -1,5 +1,6 @@
---
title: List Tasks
+description: Get all tasks for a specific project
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get all tasks for a specific project
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/tasks/{projectId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTask.mdx b/apps/docs/content/docs/api/tasks/updateTask.mdx
index 0317445cd..1de9de2a1 100644
--- a/apps/docs/content/docs/api/tasks/updateTask.mdx
+++ b/apps/docs/content/docs/api/tasks/updateTask.mdx
@@ -1,5 +1,6 @@
---
title: Update Task
+description: Update all fields of a task
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update all fields of a task
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskAssignee.mdx b/apps/docs/content/docs/api/tasks/updateTaskAssignee.mdx
index 51be15b9a..b7c9f1d37 100644
--- a/apps/docs/content/docs/api/tasks/updateTaskAssignee.mdx
+++ b/apps/docs/content/docs/api/tasks/updateTaskAssignee.mdx
@@ -1,5 +1,6 @@
---
title: Update Task Assignee
+description: Assign or unassign a task to a user
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Assign or unassign a task to a user
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/assignee/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskDescription.mdx b/apps/docs/content/docs/api/tasks/updateTaskDescription.mdx
index 9fb1d3084..2b219709f 100644
--- a/apps/docs/content/docs/api/tasks/updateTaskDescription.mdx
+++ b/apps/docs/content/docs/api/tasks/updateTaskDescription.mdx
@@ -1,5 +1,6 @@
---
title: Update Task Description
+description: Update only the description of a task
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update only the description of a task
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/description/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskDueDate.mdx b/apps/docs/content/docs/api/tasks/updateTaskDueDate.mdx
index 5501b7c03..6d27d0917 100644
--- a/apps/docs/content/docs/api/tasks/updateTaskDueDate.mdx
+++ b/apps/docs/content/docs/api/tasks/updateTaskDueDate.mdx
@@ -1,5 +1,6 @@
---
title: Update Task Due Date
+description: Update only the due date of a task
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update only the due date of a task
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/due-date/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskPriority.mdx b/apps/docs/content/docs/api/tasks/updateTaskPriority.mdx
index f96b6a13b..93b00c732 100644
--- a/apps/docs/content/docs/api/tasks/updateTaskPriority.mdx
+++ b/apps/docs/content/docs/api/tasks/updateTaskPriority.mdx
@@ -1,5 +1,6 @@
---
title: Update Task Priority
+description: Update only the priority of a task
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update only the priority of a task
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/priority/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskStatus.mdx b/apps/docs/content/docs/api/tasks/updateTaskStatus.mdx
index a477e33e5..89f38fa37 100644
--- a/apps/docs/content/docs/api/tasks/updateTaskStatus.mdx
+++ b/apps/docs/content/docs/api/tasks/updateTaskStatus.mdx
@@ -1,5 +1,6 @@
---
title: Update Task Status
+description: Update only the status of a task
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update only the status of a task
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/status/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskTitle.mdx b/apps/docs/content/docs/api/tasks/updateTaskTitle.mdx
index ac4384bc1..1a5be017b 100644
--- a/apps/docs/content/docs/api/tasks/updateTaskTitle.mdx
+++ b/apps/docs/content/docs/api/tasks/updateTaskTitle.mdx
@@ -1,5 +1,6 @@
---
title: Update Task Title
+description: Update only the title of a task
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update only the title of a task
-
<APIPage document={"./openapi.json"} operations={[{"path":"/task/title/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/time-entries/createTimeEntry.mdx b/apps/docs/content/docs/api/time-entries/createTimeEntry.mdx
index a7f1ca0df..270c3e636 100644
--- a/apps/docs/content/docs/api/time-entries/createTimeEntry.mdx
+++ b/apps/docs/content/docs/api/time-entries/createTimeEntry.mdx
@@ -1,5 +1,6 @@
---
title: Create Time Entry
+description: Create a new time entry for a task
full: true
_openapi:
method: POST
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Create a new time entry for a task
-
<APIPage document={"./openapi.json"} operations={[{"path":"/time-entry","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/time-entries/getTaskTimeEntries.mdx b/apps/docs/content/docs/api/time-entries/getTaskTimeEntries.mdx
new file mode 100644
index 000000000..81ee3a508
--- /dev/null
+++ b/apps/docs/content/docs/api/time-entries/getTaskTimeEntries.mdx
@@ -0,0 +1,16 @@
+---
+title: Get Task Time Entries
+description: Get all time entries for a specific task
+full: true
+_openapi:
+ method: GET
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Get all time entries for a specific task
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/time-entry/task/{taskId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/time-entries/getTimeEntry.mdx b/apps/docs/content/docs/api/time-entries/getTimeEntry.mdx
index 433aad7db..ed098e027 100644
--- a/apps/docs/content/docs/api/time-entries/getTimeEntry.mdx
+++ b/apps/docs/content/docs/api/time-entries/getTimeEntry.mdx
@@ -1,5 +1,6 @@
---
title: Get Time Entry
+description: Get a specific time entry by ID
full: true
_openapi:
method: GET
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Get a specific time entry by ID
-
<APIPage document={"./openapi.json"} operations={[{"path":"/time-entry/{id}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/time-entries/updateTimeEntry.mdx b/apps/docs/content/docs/api/time-entries/updateTimeEntry.mdx
index d8a98b902..7db6a938e 100644
--- a/apps/docs/content/docs/api/time-entries/updateTimeEntry.mdx
+++ b/apps/docs/content/docs/api/time-entries/updateTimeEntry.mdx
@@ -1,5 +1,6 @@
---
title: Update Time Entry
+description: Update an existing time entry
full: true
_openapi:
method: PUT
@@ -12,6 +13,4 @@ _openapi:
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
-Update an existing time entry
-
<APIPage document={"./openapi.json"} operations={[{"path":"/time-entry/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/openapi.json b/apps/docs/openapi.json
index 13e316820..ab110883a 100644
--- a/apps/docs/openapi.json
+++ b/apps/docs/openapi.json
@@ -6,10 +6,7 @@
"version": "1.0.0"
},
"servers": [
- {
- "url": "http://localhost:1337/api",
- "description": "Kaneo API Server"
- }
+ { "url": "http://cloud.kaneo.app/api", "description": "Kaneo API Server" }
],
"components": {
"securitySchemes": {
@@ -20,11 +17,7 @@
}
}
},
- "security": [
- {
- "bearerAuth": []
- }
- ],
+ "security": [{ "bearerAuth": [] }],
"paths": {
"/github-integration/app-info": {
"get": {
@@ -36,7 +29,15 @@
"description": "GitHub app information",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "appName": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": ["appName"]
+ }
}
}
}
@@ -53,7 +54,32 @@
"description": "List of repositories",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "number" },
+ "name": { "type": "string" },
+ "full_name": { "type": "string" },
+ "owner": {
+ "type": "object",
+ "properties": { "login": { "type": "string" } },
+ "required": ["login"]
+ },
+ "private": { "type": "boolean" },
+ "html_url": { "type": "string" }
+ },
+ "required": [
+ "id",
+ "name",
+ "full_name",
+ "owner",
+ "private",
+ "html_url"
+ ]
+ }
+ }
}
}
}
@@ -70,7 +96,14 @@
"description": "Verification result",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "installed": { "type": "boolean" },
+ "message": { "type": "string" }
+ },
+ "required": ["installed"]
+ }
}
}
}
@@ -81,12 +114,8 @@
"schema": {
"type": "object",
"properties": {
- "repositoryOwner": {
- "type": "string"
- },
- "repositoryName": {
- "type": "string"
- }
+ "repositoryOwner": { "type": "string", "minLength": 1 },
+ "repositoryName": { "type": "string", "minLength": 1 }
},
"required": ["repositoryOwner", "repositoryName"]
}
@@ -105,7 +134,31 @@
"description": "GitHub integration details",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "repositoryOwner": { "type": "string" },
+ "repositoryName": { "type": "string" },
+ "installationId": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "isActive": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "repositoryOwner",
+ "repositoryName",
+ "installationId",
+ "isActive",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -114,9 +167,7 @@
{
"in": "path",
"name": "projectId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -130,7 +181,31 @@
"description": "Integration created successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "repositoryOwner": { "type": "string" },
+ "repositoryName": { "type": "string" },
+ "installationId": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "isActive": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "repositoryOwner",
+ "repositoryName",
+ "installationId",
+ "isActive",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -139,9 +214,7 @@
{
"in": "path",
"name": "projectId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -151,12 +224,8 @@
"schema": {
"type": "object",
"properties": {
- "repositoryOwner": {
- "type": "string"
- },
- "repositoryName": {
- "type": "string"
- }
+ "repositoryOwner": { "type": "string", "minLength": 1 },
+ "repositoryName": { "type": "string", "minLength": 1 }
},
"required": ["repositoryOwner", "repositoryName"]
}
@@ -173,7 +242,31 @@
"description": "Integration updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "repositoryOwner": { "type": "string" },
+ "repositoryName": { "type": "string" },
+ "installationId": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "isActive": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "repositoryOwner",
+ "repositoryName",
+ "installationId",
+ "isActive",
+ "createdAt"
+ ]
+ }
}
}
},
@@ -181,7 +274,11 @@
"description": "Integration not found",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": { "error": { "type": "string" } },
+ "required": ["error"]
+ }
}
}
}
@@ -190,9 +287,7 @@
{
"in": "path",
"name": "projectId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -201,11 +296,7 @@
"application/json": {
"schema": {
"type": "object",
- "properties": {
- "isActive": {
- "type": "boolean"
- }
- },
+ "properties": { "isActive": { "type": "boolean" } },
"required": []
}
}
@@ -221,7 +312,31 @@
"description": "Integration deleted successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "repositoryOwner": { "type": "string" },
+ "repositoryName": { "type": "string" },
+ "installationId": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "isActive": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "repositoryOwner",
+ "repositoryName",
+ "installationId",
+ "isActive",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -230,9 +345,7 @@
{
"in": "path",
"name": "projectId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -248,7 +361,15 @@
"description": "Issues imported successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "imported": { "type": "number" },
+ "skipped": { "type": "number" },
+ "errors": { "type": "array", "items": { "type": "string" } }
+ },
+ "required": ["imported", "skipped"]
+ }
}
}
}
@@ -258,11 +379,7 @@
"application/json": {
"schema": {
"type": "object",
- "properties": {
- "projectId": {
- "type": "string"
- }
- },
+ "properties": { "projectId": { "type": "string" } },
"required": ["projectId"]
}
}
@@ -280,7 +397,33 @@
"description": "Application settings",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "disableRegistration": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "isDemoMode": { "type": "boolean" },
+ "hasSmtp": { "type": "boolean" },
+ "hasGithubSignIn": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "hasGoogleSignIn": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "hasCustomOAuth": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "disableRegistration",
+ "isDemoMode",
+ "hasSmtp",
+ "hasGithubSignIn",
+ "hasGoogleSignIn",
+ "hasCustomOAuth"
+ ]
+ }
}
}
}
@@ -299,7 +442,35 @@
"application/json": {
"schema": {
"type": "array",
- "items": {}
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "workspaceId": { "type": "string" },
+ "slug": { "type": "string" },
+ "icon": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "name": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "createdAt": {},
+ "isPublic": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "workspaceId",
+ "slug",
+ "icon",
+ "name",
+ "description",
+ "createdAt",
+ "isPublic"
+ ]
+ }
}
}
}
@@ -309,9 +480,7 @@
{
"in": "query",
"name": "workspaceId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -325,7 +494,35 @@
"description": "Project created successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "workspaceId": { "type": "string" },
+ "slug": { "type": "string" },
+ "icon": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "name": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "createdAt": {},
+ "isPublic": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "workspaceId",
+ "slug",
+ "icon",
+ "name",
+ "description",
+ "createdAt",
+ "isPublic"
+ ]
+ }
}
}
}
@@ -336,18 +533,10 @@
"schema": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
- "workspaceId": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "slug": {
- "type": "string"
- }
+ "name": { "type": "string" },
+ "workspaceId": { "type": "string" },
+ "icon": { "type": "string" },
+ "slug": { "type": "string" }
},
"required": ["name", "workspaceId", "icon", "slug"]
}
@@ -366,7 +555,35 @@
"description": "Project details",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "workspaceId": { "type": "string" },
+ "slug": { "type": "string" },
+ "icon": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "name": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "createdAt": {},
+ "isPublic": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "workspaceId",
+ "slug",
+ "icon",
+ "name",
+ "description",
+ "createdAt",
+ "isPublic"
+ ]
+ }
}
}
}
@@ -375,17 +592,13 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
},
{
"in": "query",
"name": "workspaceId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -399,7 +612,35 @@
"description": "Project updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "workspaceId": { "type": "string" },
+ "slug": { "type": "string" },
+ "icon": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "name": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "createdAt": {},
+ "isPublic": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "workspaceId",
+ "slug",
+ "icon",
+ "name",
+ "description",
+ "createdAt",
+ "isPublic"
+ ]
+ }
}
}
}
@@ -408,9 +649,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -420,21 +659,11 @@
"schema": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "slug": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "isPublic": {
- "type": "boolean"
- }
+ "name": { "type": "string" },
+ "icon": { "type": "string" },
+ "slug": { "type": "string" },
+ "description": { "type": "string" },
+ "isPublic": { "type": "boolean" }
},
"required": ["name", "icon", "slug", "description", "isPublic"]
}
@@ -451,7 +680,35 @@
"description": "Project deleted successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "workspaceId": { "type": "string" },
+ "slug": { "type": "string" },
+ "icon": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "name": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "createdAt": {},
+ "isPublic": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "workspaceId",
+ "slug",
+ "icon",
+ "name",
+ "description",
+ "createdAt",
+ "isPublic"
+ ]
+ }
}
}
}
@@ -460,9 +717,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -476,20 +731,14 @@
"responses": {
"200": {
"description": "Project with tasks organized by columns",
- "content": {
- "application/json": {
- "schema": {}
- }
- }
+ "content": { "application/json": { "schema": {} } }
}
},
"parameters": [
{
"in": "path",
"name": "projectId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -505,51 +754,75 @@
"description": "Task created successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
}
}
}
},
- "parameters": [
- {
- "in": "path",
- "name": "projectId",
- "schema": {
- "type": "string"
- },
- "required": true
- }
- ],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "dueDate": {
- "type": "string"
- },
- "priority": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "userId": {
- "type": "string"
- }
+ "title": { "type": "string" },
+ "description": { "type": "string" },
+ "dueDate": { "type": "string" },
+ "priority": { "type": "string" },
+ "status": { "type": "string" },
+ "userId": { "type": "string" }
},
"required": ["title", "description", "priority", "status"]
}
}
}
- }
+ },
+ "parameters": [
+ {
+ "schema": { "type": "string" },
+ "in": "path",
+ "name": "projectId",
+ "required": true
+ }
+ ]
}
},
"/task/{id}": {
@@ -562,7 +835,45 @@
"description": "Task details",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -571,9 +882,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -587,7 +896,45 @@
"description": "Task updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -596,9 +943,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -608,30 +953,14 @@
"schema": {
"type": "object",
"properties": {
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "dueDate": {
- "type": "string"
- },
- "priority": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "projectId": {
- "type": "string"
- },
- "position": {
- "type": "number"
- },
- "userId": {
- "type": "string"
- }
+ "title": { "type": "string" },
+ "description": { "type": "string" },
+ "dueDate": { "type": "string" },
+ "priority": { "type": "string" },
+ "status": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": { "type": "number" },
+ "userId": { "type": "string" }
},
"required": [
"title",
@@ -655,7 +984,45 @@
"description": "Task deleted successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -664,9 +1031,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -680,20 +1045,14 @@
"responses": {
"200": {
"description": "Exported tasks data",
- "content": {
- "application/json": {
- "schema": {}
- }
- }
+ "content": { "application/json": { "schema": {} } }
}
},
"parameters": [
{
"in": "path",
"name": "projectId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -707,20 +1066,14 @@
"responses": {
"200": {
"description": "Tasks imported successfully",
- "content": {
- "application/json": {
- "schema": {}
- }
- }
+ "content": { "application/json": { "schema": {} } }
}
},
"parameters": [
{
"in": "path",
"name": "projectId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -735,33 +1088,16 @@
"items": {
"type": "object",
"properties": {
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "priority": {
- "type": "string"
- },
- "dueDate": {
- "type": "string"
- },
+ "title": { "type": "string" },
+ "description": { "type": "string" },
+ "status": { "type": "string" },
+ "priority": { "type": "string" },
+ "dueDate": { "type": "string" },
"userId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
}
},
- "required": ["title", "status", "userId"]
+ "required": ["title", "status"]
}
}
},
@@ -782,7 +1118,45 @@
"description": "Task status updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -791,9 +1165,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -802,11 +1174,7 @@
"application/json": {
"schema": {
"type": "object",
- "properties": {
- "status": {
- "type": "string"
- }
- },
+ "properties": { "status": { "type": "string" } },
"required": ["status"]
}
}
@@ -824,7 +1192,45 @@
"description": "Task priority updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -833,9 +1239,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -844,11 +1248,7 @@
"application/json": {
"schema": {
"type": "object",
- "properties": {
- "priority": {
- "type": "string"
- }
- },
+ "properties": { "priority": { "type": "string" } },
"required": ["priority"]
}
}
@@ -866,7 +1266,45 @@
"description": "Task assignee updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -875,9 +1313,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -886,11 +1322,7 @@
"application/json": {
"schema": {
"type": "object",
- "properties": {
- "userId": {
- "type": "string"
- }
- },
+ "properties": { "userId": { "type": "string" } },
"required": ["userId"]
}
}
@@ -908,7 +1340,45 @@
"description": "Task due date updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -917,9 +1387,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -928,11 +1396,7 @@
"application/json": {
"schema": {
"type": "object",
- "properties": {
- "dueDate": {
- "type": "string"
- }
- },
+ "properties": { "dueDate": { "type": "string" } },
"required": ["dueDate"]
}
}
@@ -950,7 +1414,45 @@
"description": "Task title updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -959,9 +1461,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -970,11 +1470,7 @@
"application/json": {
"schema": {
"type": "object",
- "properties": {
- "title": {
- "type": "string"
- }
- },
+ "properties": { "title": { "type": "string" } },
"required": ["title"]
}
}
@@ -992,7 +1488,45 @@
"description": "Task description updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -1001,9 +1535,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -1012,11 +1544,7 @@
"application/json": {
"schema": {
"type": "object",
- "properties": {
- "description": {
- "type": "string"
- }
- },
+ "properties": { "description": { "type": "string" } },
"required": ["description"]
}
}
@@ -1036,7 +1564,27 @@
"application/json": {
"schema": {
"type": "array",
- "items": {}
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "type": { "type": "string" },
+ "createdAt": {},
+ "userId": { "type": "string" },
+ "content": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "taskId",
+ "type",
+ "createdAt",
+ "userId",
+ "content"
+ ]
+ }
}
}
}
@@ -1046,9 +1594,7 @@
{
"in": "path",
"name": "taskId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -1064,7 +1610,27 @@
"description": "Activity created successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "type": { "type": "string" },
+ "createdAt": {},
+ "userId": { "type": "string" },
+ "content": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "taskId",
+ "type",
+ "createdAt",
+ "userId",
+ "content"
+ ]
+ }
}
}
}
@@ -1075,18 +1641,10 @@
"schema": {
"type": "object",
"properties": {
- "taskId": {
- "type": "string"
- },
- "userId": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "type": {
- "type": "string"
- }
+ "taskId": { "type": "string" },
+ "userId": { "type": "string" },
+ "message": { "type": "string" },
+ "type": { "type": "string" }
},
"required": ["taskId", "userId", "message", "type"]
}
@@ -1105,7 +1663,27 @@
"description": "Comment created successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "type": { "type": "string" },
+ "createdAt": {},
+ "userId": { "type": "string" },
+ "content": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "taskId",
+ "type",
+ "createdAt",
+ "userId",
+ "content"
+ ]
+ }
}
}
}
@@ -1116,12 +1694,8 @@
"schema": {
"type": "object",
"properties": {
- "taskId": {
- "type": "string"
- },
- "comment": {
- "type": "string"
- }
+ "taskId": { "type": "string" },
+ "comment": { "type": "string" }
},
"required": ["taskId", "comment"]
}
@@ -1138,7 +1712,27 @@
"description": "Comment updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "type": { "type": "string" },
+ "createdAt": {},
+ "userId": { "type": "string" },
+ "content": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "taskId",
+ "type",
+ "createdAt",
+ "userId",
+ "content"
+ ]
+ }
}
}
}
@@ -1149,12 +1743,8 @@
"schema": {
"type": "object",
"properties": {
- "activityId": {
- "type": "string"
- },
- "comment": {
- "type": "string"
- }
+ "activityId": { "type": "string" },
+ "comment": { "type": "string" }
},
"required": ["activityId", "comment"]
}
@@ -1171,7 +1761,27 @@
"description": "Comment deleted successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "type": { "type": "string" },
+ "createdAt": {},
+ "userId": { "type": "string" },
+ "content": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "taskId",
+ "type",
+ "createdAt",
+ "userId",
+ "content"
+ ]
+ }
}
}
}
@@ -1181,11 +1791,7 @@
"application/json": {
"schema": {
"type": "object",
- "properties": {
- "activityId": {
- "type": "string"
- }
- },
+ "properties": { "activityId": { "type": "string" } },
"required": ["activityId"]
}
}
@@ -1205,7 +1811,35 @@
"application/json": {
"schema": {
"type": "array",
- "items": {}
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "startTime": {},
+ "endTime": { "anyOf": [{}, { "type": "null" }] },
+ "duration": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "taskId",
+ "userId",
+ "description",
+ "startTime",
+ "endTime",
+ "duration",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -1215,9 +1849,7 @@
{
"in": "path",
"name": "taskId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -1233,7 +1865,35 @@
"description": "Time entry details",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "startTime": {},
+ "endTime": { "anyOf": [{}, { "type": "null" }] },
+ "duration": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "taskId",
+ "userId",
+ "description",
+ "startTime",
+ "endTime",
+ "duration",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -1242,9 +1902,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -1258,7 +1916,35 @@
"description": "Time entry updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "startTime": {},
+ "endTime": { "anyOf": [{}, { "type": "null" }] },
+ "duration": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "taskId",
+ "userId",
+ "description",
+ "startTime",
+ "endTime",
+ "duration",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -1267,9 +1953,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -1279,12 +1963,8 @@
"schema": {
"type": "object",
"properties": {
- "startTime": {
- "type": "string"
- },
- "endTime": {
- "type": "string"
- }
+ "startTime": { "type": "string" },
+ "endTime": { "type": "string" }
},
"required": ["startTime"]
}
@@ -1303,7 +1983,35 @@
"description": "Time entry created successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "startTime": {},
+ "endTime": { "anyOf": [{}, { "type": "null" }] },
+ "duration": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "taskId",
+ "userId",
+ "description",
+ "startTime",
+ "endTime",
+ "duration",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -1314,18 +2022,10 @@
"schema": {
"type": "object",
"properties": {
- "taskId": {
- "type": "string"
- },
- "startTime": {
- "type": "string"
- },
- "endTime": {
- "type": "string"
- },
- "description": {
- "type": "string"
- }
+ "taskId": { "type": "string" },
+ "startTime": { "type": "string" },
+ "endTime": { "type": "string" },
+ "description": { "type": "string" }
},
"required": ["taskId", "startTime"]
}
@@ -1346,7 +2046,29 @@
"application/json": {
"schema": {
"type": "array",
- "items": {}
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "name": { "type": "string" },
+ "color": { "type": "string" },
+ "createdAt": {},
+ "taskId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "workspaceId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "color",
+ "createdAt",
+ "taskId",
+ "workspaceId"
+ ]
+ }
}
}
}
@@ -1356,9 +2078,7 @@
{
"in": "path",
"name": "taskId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -1376,7 +2096,29 @@
"application/json": {
"schema": {
"type": "array",
- "items": {}
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "name": { "type": "string" },
+ "color": { "type": "string" },
+ "createdAt": {},
+ "taskId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "workspaceId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "color",
+ "createdAt",
+ "taskId",
+ "workspaceId"
+ ]
+ }
}
}
}
@@ -1386,9 +2128,7 @@
{
"in": "path",
"name": "workspaceId",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -1404,7 +2144,29 @@
"description": "Label created successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "name": { "type": "string" },
+ "color": { "type": "string" },
+ "createdAt": {},
+ "taskId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "workspaceId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "color",
+ "createdAt",
+ "taskId",
+ "workspaceId"
+ ]
+ }
}
}
}
@@ -1415,18 +2177,10 @@
"schema": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
- "color": {
- "type": "string"
- },
- "workspaceId": {
- "type": "string"
- },
- "description": {
- "type": "string"
- }
+ "name": { "type": "string" },
+ "color": { "type": "string" },
+ "workspaceId": { "type": "string" },
+ "description": { "type": "string" }
},
"required": ["name", "color", "workspaceId"]
}
@@ -1445,7 +2199,29 @@
"description": "Label details",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "name": { "type": "string" },
+ "color": { "type": "string" },
+ "createdAt": {},
+ "taskId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "workspaceId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "color",
+ "createdAt",
+ "taskId",
+ "workspaceId"
+ ]
+ }
}
}
}
@@ -1454,9 +2230,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -1470,7 +2244,29 @@
"description": "Label updated successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "name": { "type": "string" },
+ "color": { "type": "string" },
+ "createdAt": {},
+ "taskId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "workspaceId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "color",
+ "createdAt",
+ "taskId",
+ "workspaceId"
+ ]
+ }
}
}
}
@@ -1479,9 +2275,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
],
@@ -1491,15 +2285,9 @@
"schema": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
- "color": {
- "type": "string"
- },
- "description": {
- "type": "string"
- }
+ "name": { "type": "string" },
+ "color": { "type": "string" },
+ "description": { "type": "string" }
},
"required": ["name", "color"]
}
@@ -1516,7 +2304,29 @@
"description": "Label deleted successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "name": { "type": "string" },
+ "color": { "type": "string" },
+ "createdAt": {},
+ "taskId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "workspaceId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "color",
+ "createdAt",
+ "taskId",
+ "workspaceId"
+ ]
+ }
}
}
}
@@ -1525,9 +2335,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -1545,7 +2353,39 @@
"application/json": {
"schema": {
"type": "array",
- "items": {}
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "userId": { "type": "string" },
+ "title": { "type": "string" },
+ "content": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "type": { "type": "string" },
+ "isRead": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "resourceId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "resourceType": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "userId",
+ "title",
+ "content",
+ "type",
+ "isRead",
+ "resourceId",
+ "resourceType",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -1561,7 +2401,39 @@
"description": "Notification created successfully",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "userId": { "type": "string" },
+ "title": { "type": "string" },
+ "content": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "type": { "type": "string" },
+ "isRead": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "resourceId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "resourceType": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "userId",
+ "title",
+ "content",
+ "type",
+ "isRead",
+ "resourceId",
+ "resourceType",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -1572,24 +2444,12 @@
"schema": {
"type": "object",
"properties": {
- "userId": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "relatedEntityId": {
- "type": "string"
- },
- "relatedEntityType": {
- "type": "string"
- }
+ "userId": { "type": "string" },
+ "title": { "type": "string" },
+ "message": { "type": "string" },
+ "type": { "type": "string" },
+ "relatedEntityId": { "type": "string" },
+ "relatedEntityType": { "type": "string" }
},
"required": ["userId", "title", "message", "type"]
}
@@ -1608,7 +2468,39 @@
"description": "Notification marked as read",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "userId": { "type": "string" },
+ "title": { "type": "string" },
+ "content": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "type": { "type": "string" },
+ "isRead": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ },
+ "resourceId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "resourceType": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "userId",
+ "title",
+ "content",
+ "type",
+ "isRead",
+ "resourceId",
+ "resourceType",
+ "createdAt"
+ ]
+ }
}
}
}
@@ -1617,9 +2509,7 @@
{
"in": "path",
"name": "id",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
}
]
@@ -1635,7 +2525,14 @@
"description": "All notifications marked as read",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "success": { "type": "boolean" },
+ "count": { "type": "number" }
+ },
+ "required": ["success"]
+ }
}
}
}
@@ -1652,7 +2549,14 @@
"description": "All notifications cleared",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "success": { "type": "boolean" },
+ "count": { "type": "number" }
+ },
+ "required": ["success"]
+ }
}
}
}
@@ -1669,7 +2573,164 @@
"description": "Search results",
"content": {
"application/json": {
- "schema": {}
+ "schema": {
+ "type": "object",
+ "properties": {
+ "tasks": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "projectId": { "type": "string" },
+ "position": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "number": {
+ "anyOf": [{ "type": "number" }, { "type": "null" }]
+ },
+ "userId": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "title": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "status": { "type": "string" },
+ "priority": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "dueDate": { "anyOf": [{}, { "type": "null" }] },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "projectId",
+ "position",
+ "number",
+ "userId",
+ "title",
+ "description",
+ "status",
+ "priority",
+ "dueDate",
+ "createdAt"
+ ]
+ }
+ },
+ "projects": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "workspaceId": { "type": "string" },
+ "slug": { "type": "string" },
+ "icon": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "name": { "type": "string" },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "createdAt": {},
+ "isPublic": {
+ "anyOf": [{ "type": "boolean" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "workspaceId",
+ "slug",
+ "icon",
+ "name",
+ "description",
+ "createdAt",
+ "isPublic"
+ ]
+ }
+ },
+ "workspaces": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "name": { "type": "string" },
+ "slug": { "type": "string" },
+ "logo": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "metadata": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "description": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ },
+ "createdAt": {}
+ },
+ "required": [
+ "id",
+ "name",
+ "slug",
+ "logo",
+ "metadata",
+ "description",
+ "createdAt"
+ ]
+ }
+ },
+ "comments": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "type": { "type": "string" },
+ "createdAt": {},
+ "userId": { "type": "string" },
+ "content": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "taskId",
+ "type",
+ "createdAt",
+ "userId",
+ "content"
+ ]
+ }
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "taskId": { "type": "string" },
+ "type": { "type": "string" },
+ "createdAt": {},
+ "userId": { "type": "string" },
+ "content": {
+ "anyOf": [{ "type": "string" }, { "type": "null" }]
+ }
+ },
+ "required": [
+ "id",
+ "taskId",
+ "type",
+ "createdAt",
+ "userId",
+ "content"
+ ]
+ }
+ }
+ },
+ "required": []
+ }
}
}
}
@@ -1678,9 +2739,7 @@
{
"in": "query",
"name": "q",
- "schema": {
- "type": "string"
- },
+ "schema": { "type": "string" },
"required": true
},
{
@@ -1701,32 +2760,22 @@
{
"in": "query",
"name": "workspaceId",
- "schema": {
- "type": "string"
- }
+ "schema": { "type": "string" }
},
{
"in": "query",
"name": "projectId",
- "schema": {
- "type": "string"
- }
+ "schema": { "type": "string" }
},
{
"in": "query",
"name": "limit",
- "schema": {
- "type": "number",
- "default": "20"
- }
+ "schema": { "type": "number", "default": "20" }
},
{
"in": "query",
"name": "userEmail",
- "schema": {
- "type": "string",
- "format": "email"
- }
+ "schema": { "type": "string", "format": "email" }
}
]
}