We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e289c97 commit 8b1d27aCopy full SHA for 8b1d27a
src/common/decorators/base-endpoint/base-endpoint.ts
@@ -56,7 +56,7 @@ export function Endpoint(options: ApiEndpointOptions) {
56
properties: {
57
message: { type: 'string' },
58
statusCode: { type: 'number', example: 400 },
59
- error: { type: 'string' },
+ errors: { type: 'array', items: { type: 'object' } },
60
},
61
62
}),
0 commit comments