docs: Add base path for API endpoints to Swagger
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/projects/{projectId}/boards:
|
||||
* /projects/{projectId}/boards:
|
||||
* post:
|
||||
* summary: Create board
|
||||
* description: Creates a board within a project. Supports importing from Trello. Requires project manager permissions.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/boards/{id}:
|
||||
* /boards/{id}:
|
||||
* delete:
|
||||
* summary: Delete board
|
||||
* description: Deletes a board and all its contents (lists, cards, etc.). Requires project manager permissions.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/boards/{id}:
|
||||
* /boards/{id}:
|
||||
* get:
|
||||
* summary: Get board details
|
||||
* description: Retrieves comprehensive board information, including lists, cards, and other related data.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/boards/{id}:
|
||||
* /boards/{id}:
|
||||
* patch:
|
||||
* summary: Update board
|
||||
* description: Updates a board. Project managers can update all fields, board members can only subscribe/unsubscribe.
|
||||
|
||||
Reference in New Issue
Block a user