fix: correct return type in API documentation for custom fields

This commit is contained in:
Yang, Bo 2025-07-09 15:43:07 +00:00
parent b3ad06692f
commit 6cc746df8b
2 changed files with 9 additions and 3 deletions

View file

@ -4042,7 +4042,7 @@ JsonRoutes.add('GET', '/api/boards/:boardId/cards_count', function(
* @param {string} cardId the ID of the card
* @param {string} customFieldId the ID of the custom field
* @param {string} value the new custom field value
* @return_type {_id: string, customFields: object}
* @return_type {_id: string, customFields: [{_id: string, value: object}]}
*/
JsonRoutes.add(
'POST',

View file

@ -1666,7 +1666,6 @@ paths:
adds the label to the board.
tags:
- Boards
- Boards
consumes:
- multipart/form-data
- application/json
@ -2261,7 +2260,14 @@ paths:
_id:
type: string
customFields:
type: object
type: array
items:
type: object
properties:
_id:
type: string
value:
type: object
/api/boards/{board}/lists/{list}/cards_count:
get:
operationId: get_list_cards_count