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/base-custom-field-groups/{baseCustomFieldGroupId}/custom-fields:
|
||||
* /base-custom-field-groups/{baseCustomFieldGroupId}/custom-fields:
|
||||
* post:
|
||||
* summary: Create custom field in base custom field group
|
||||
* description: Creates a custom field within a base custom field group. Requires project manager permissions.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/custom-field-groups/{customFieldGroupId}/custom-fields:
|
||||
* /custom-field-groups/{customFieldGroupId}/custom-fields:
|
||||
* post:
|
||||
* summary: Create custom field in custom field group
|
||||
* description: Creates a custom field within a custom field group. Requires board editor permissions.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/custom-fields/{id}:
|
||||
* /custom-fields/{id}:
|
||||
* delete:
|
||||
* summary: Delete custom field
|
||||
* description: Deletes a custom field. Can delete the in base custom field group (requires project manager permissions) or the custom field group (requires board editor permissions).
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/custom-fields/{id}:
|
||||
* /custom-fields/{id}:
|
||||
* patch:
|
||||
* summary: Update custom field
|
||||
* description: Updates a custom field. Can update in the base custom field group (requires project manager permissions) or the custom field group (requires board editor permissions).
|
||||
|
||||
Reference in New Issue
Block a user