feat(api): enforce request and response schema validation #91
Annotations
10 errors and 11 warnings
|
Lint:
src/config/cors.js#L33
Missing JSDoc @returns declaration
|
|
Lint:
src/config/cors.js#L22
Expected { after 'if' condition
|
|
Lint:
src/config/cors.js#L17
Missing JSDoc @param "raw" declaration
|
|
Lint:
src/config/cors.js#L17
Missing JSDoc @returns declaration
|
|
Lint:
src/app.test.js#L3
'CORS_REJECTION_MESSAGE' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
Lint:
src/app.js#L160
Missing JSDoc comment
|
|
Lint:
src/app.js#L152
Expected { after 'if' condition
|
|
Lint:
src/app.js#L28
Missing JSDoc comment
|
|
Lint:
src/__tests__/bodySizeLimits.test.js#L22
Expected { after 'if' condition
|
|
Lint:
src/__tests__/bodySizeLimits.test.js#L20
'baseKey' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint:
src/utils/queryBuilder.js#L49
Generic Object Injection Sink
|
|
Lint:
src/utils/queryBuilder.js#L32
Generic Object Injection Sink
|
|
Lint:
src/utils/queryBuilder.js#L28
Variable Assigned to Object Injection Sink
|
|
Lint:
src/middleware/validate.js#L10
Generic Object Injection Sink
|
|
Lint:
src/middleware/validate.js#L9
Function Call Object Injection Sink
|
|
Lint:
src/middleware/bodySizeLimits.js#L64
Generic Object Injection Sink
|
|
Lint:
src/middleware/bodySizeLimits.js#L55
Unsafe Regular Expression
|
|
Lint:
src/index.test.js#L12
Function Call Object Injection Sink
|
|
Lint:
src/app.js#L118
Function Call Object Injection Sink
|
|
Lint:
src/app.js#L117
Generic Object Injection Sink
|
Loading