docs: Improve Swagger JSDoc

This commit is contained in:
Maksim Eltyshev
2025-09-12 12:17:01 +02:00
parent 494800d131
commit b4979d214f
129 changed files with 294 additions and 248 deletions

View File

@@ -11,6 +11,7 @@
* description: Creates a webhook. Requires admin privileges.
* tags:
* - Webhooks
* operationId: createWebhook
* requestBody:
* required: true
* content:

View File

@@ -11,6 +11,7 @@
* description: Deletes a webhook. Requires admin privileges.
* tags:
* - Webhooks
* operationId: deleteWebhook
* parameters:
* - name: id
* in: path

View File

@@ -11,6 +11,7 @@
* description: Retrieves a list of all configured webhooks. Requires admin privileges.
* tags:
* - Webhooks
* operationId: getWebhooks
* responses:
* 200:
* description: List of webhooks retrieved successfully

View File

@@ -11,6 +11,7 @@
* description: Updates a webhook. Requires admin privileges.
* tags:
* - Webhooks
* operationId: updateWebhook
* parameters:
* - name: id
* in: path