mirror of
https://github.com/plankanban/planka.git
synced 2025-12-19 17:23:27 +03:00
docs: Add base path for API endpoints to Swagger
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/webhooks:
|
||||
* /webhooks:
|
||||
* post:
|
||||
* summary: Create webhook
|
||||
* description: Creates a webhook. Requires admin privileges.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/webhooks/{id}:
|
||||
* /webhooks/{id}:
|
||||
* delete:
|
||||
* summary: Delete webhook
|
||||
* description: Deletes a webhook. Requires admin privileges.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/webhooks:
|
||||
* /webhooks:
|
||||
* get:
|
||||
* summary: Get all webhooks
|
||||
* description: Retrieves a list of all configured webhooks. Requires admin privileges.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/webhooks/{id}:
|
||||
* /webhooks/{id}:
|
||||
* patch:
|
||||
* summary: Update webhook
|
||||
* description: Updates a webhook. Requires admin privileges.
|
||||
|
||||
Reference in New Issue
Block a user