mirror of
https://github.com/plankanban/planka.git
synced 2025-12-24 09:15:01 +03:00
docs: Improve Swagger JSDoc
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
* description: Creates a project. The current user automatically becomes a project manager.
|
||||
* tags:
|
||||
* - Projects
|
||||
* operationId: createProject
|
||||
* requestBody:
|
||||
* required: true
|
||||
* content:
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
* description: Deletes a project. The project must not have any boards. Requires project manager permissions.
|
||||
* tags:
|
||||
* - Projects
|
||||
* operationId: deleteProject
|
||||
* parameters:
|
||||
* - name: id
|
||||
* in: path
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
* description: Retrieves all projects the current user has access to, including managed projects, membership projects, and shared projects (for admins).
|
||||
* tags:
|
||||
* - Projects
|
||||
* operationId: getProjects
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Projects retrieved successfully
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
* description: Retrieves comprehensive project information, including boards, board memberships, and other related data.
|
||||
* tags:
|
||||
* - Projects
|
||||
* operationId: getProject
|
||||
* parameters:
|
||||
* - name: id
|
||||
* in: path
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
* description: Updates a project. Accessible fields depend on user permissions.
|
||||
* tags:
|
||||
* - Projects
|
||||
* operationId: updateProject
|
||||
* parameters:
|
||||
* - name: id
|
||||
* in: path
|
||||
|
||||
Reference in New Issue
Block a user