mirror of
https://github.com/wekan/wekan.git
synced 2025-12-19 17:00:13 +01:00
fix: correct return type in API documentation for custom fields
This commit is contained in:
parent
b3ad06692f
commit
6cc746df8b
2 changed files with 9 additions and 3 deletions
|
|
@ -4042,7 +4042,7 @@ JsonRoutes.add('GET', '/api/boards/:boardId/cards_count', function(
|
||||||
* @param {string} cardId the ID of the card
|
* @param {string} cardId the ID of the card
|
||||||
* @param {string} customFieldId the ID of the custom field
|
* @param {string} customFieldId the ID of the custom field
|
||||||
* @param {string} value the new custom field value
|
* @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(
|
JsonRoutes.add(
|
||||||
'POST',
|
'POST',
|
||||||
|
|
|
||||||
|
|
@ -1666,7 +1666,6 @@ paths:
|
||||||
adds the label to the board.
|
adds the label to the board.
|
||||||
tags:
|
tags:
|
||||||
- Boards
|
- Boards
|
||||||
- Boards
|
|
||||||
consumes:
|
consumes:
|
||||||
- multipart/form-data
|
- multipart/form-data
|
||||||
- application/json
|
- application/json
|
||||||
|
|
@ -2261,6 +2260,13 @@ paths:
|
||||||
_id:
|
_id:
|
||||||
type: string
|
type: string
|
||||||
customFields:
|
customFields:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
_id:
|
||||||
|
type: string
|
||||||
|
value:
|
||||||
type: object
|
type: object
|
||||||
/api/boards/{board}/lists/{list}/cards_count:
|
/api/boards/{board}/lists/{list}/cards_count:
|
||||||
get:
|
get:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue