docs: Correct invalid/missing details in Swagger

This commit is contained in:
Maksim Eltyshev
2025-09-16 15:51:14 +02:00
parent 33eef6e068
commit 97ddefc236
12 changed files with 28 additions and 24 deletions

View File

@@ -5,8 +5,8 @@
/**
* @swagger
* /cards/{cardId}/custom-field-values:
* post:
* /cards/{cardId}/custom-field-values/customFieldGroupId:{customFieldGroupId}:customFieldId:${customFieldId}:
* patch:
* summary: Create or update custom field value
* description: Creates or updates a custom field value for a card. Requires board editor permissions.
* tags:
@@ -20,6 +20,20 @@
* schema:
* type: string
* example: "1357158568008091264"
* - name: customFieldGroupId
* in: path
* required: true
* description: ID of the custom field group the value belongs to
* schema:
* type: string
* example: "1357158568008091265"
* - name: customFieldId
* in: path
* required: true
* description: ID of the custom field the value belongs to
* schema:
* type: string
* example: "1357158568008091266"
* requestBody:
* required: true
* content:
@@ -27,18 +41,8 @@
* schema:
* type: object
* required:
* - customFieldGroupId
* - customFieldId
* - content
* properties:
* customFieldGroupId:
* type: string
* description: ID of the custom field group the value belongs to
* example: "1357158568008091265"
* customFieldId:
* type: string
* description: ID of the custom field the value belongs to
* example: "1357158568008091266"
* content:
* type: string
* maxLength: 512

View File

@@ -5,7 +5,7 @@
/**
* @swagger
* /cards/{cardId}/custom-field-groups/{customFieldGroupId}/custom-fields/{customFieldId}/value:
* /cards/{cardId}/custom-field-value/customFieldGroupId:{customFieldGroupId}:customFieldId:${customFieldId}:
* delete:
* summary: Delete custom field value
* description: Deletes a custom field value for a specific card. Requires board editor permissions.