diff --git a/src/api/common/json-query.decorator.ts b/src/api/common/json-query.decorator.ts index cdc78b9c3..bb66ab65d 100644 --- a/src/api/common/json-query.decorator.ts +++ b/src/api/common/json-query.decorator.ts @@ -33,6 +33,7 @@ export function ApiFilterJsonQuery() { return applyDecorators( ApiQuery({ name: 'filter', + required: false, content: { 'application/json': { schema: { $ref: getSchemaPath(FilterDto) },