docs: Add base path for API endpoints to Swagger

This commit is contained in:
Maksim Eltyshev
2025-09-08 18:25:26 +02:00
parent 68549d0da8
commit 5636cf27c0
99 changed files with 104 additions and 98 deletions
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/boards/{boardId}/notification-services:
* /boards/{boardId}/notification-services:
* post:
* summary: Create notification service for board
* description: Creates a new notification service for a board. Requires project manager permissions.
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/users/{userId}/notification-services:
* /users/{userId}/notification-services:
* post:
* summary: Create notification service for user
* description: Creates a new notification service for a user. Users can only create services for themselves.
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/notification-services/{id}:
* /notification-services/{id}:
* delete:
* summary: Delete notification service
* description: Deletes a notification service. Users can delete their own services, project managers can delete board services.
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/notification-services/{id}/test:
* /notification-services/{id}/test:
* post:
* summary: Test notification service
* description: Sends a test notification to verify the notification service is working. Users can test their own services, project managers can test board services.
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/notification-services/{id}:
* /notification-services/{id}:
* patch:
* summary: Update notification service
* description: Updates a notification service. Users can update their own services, project managers can update board services.