fix: swagger filter params

This commit is contained in:
ChengLei Shao 2023-08-25 10:26:49 +08:00
parent e596025bd4
commit 3d9a6ef76f

View File

@ -44,10 +44,14 @@ export default (collection: Collection) => {
name: 'filter', name: 'filter',
in: 'query', in: 'query',
description: 'filter items', description: 'filter items',
content: {
'application/json': {
schema: { schema: {
type: 'object', type: 'object',
}, },
}, },
},
},
sort: { sort: {
name: 'sort', name: 'sort',
in: 'query', in: 'query',