docs: Add base path for API endpoints to Swagger
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/cards/{cardId}/attachments:
|
||||
* /cards/{cardId}/attachments:
|
||||
* post:
|
||||
* summary: Create attachment
|
||||
* description: Creates an attachment on a card. Requires board editor permissions.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/attachments/{id}:
|
||||
* /attachments/{id}:
|
||||
* delete:
|
||||
* summary: Delete attachment
|
||||
* description: Deletes an attachment. Requires board editor permissions.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/attachments/{id}:
|
||||
* /attachments/{id}:
|
||||
* patch:
|
||||
* summary: Update attachment
|
||||
* description: Updates an attachment. Requires board editor permissions.
|
||||
|
||||
Reference in New Issue
Block a user