parameter
parameter copied to clipboard
convertType didn't work with array
rule:
{ category: { type: 'array', itemType: 'int', required: false, } }
data:
{ category: [ '403', '407', '303', '307' ] }