You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After upgrading to @stoplight/spectral-rulesets version 1.19.0, we encountered a validation error that was not present in version 1.18.1.
The error message indicates a problem with spectral, specifically a TypeError: Cannot read properties of null (reading 'type').
[ERROR] There was a problem with spectral.
[ERROR] Cannot read properties of null (reading 'type')
[ERROR] Additional error details:
[ERROR] TypeError: Cannot read properties of null (reading 'type')
at $..[?(@.type === 'array')] (eval at query (/data/node_modules/nimma/dist/legacy/cjs/core/index.js:66:71), <anonymous>:10:31)
at eval (eval at query (/data/node_modules/nimma/dist/legacy/cjs/core/index.js:66:71), <anonymous>:182:41)
at _traverseBody (/data/node_modules/nimma/dist/legacy/cjs/runtime/traverse.js:13:5)
at _traverse (/data/node_modules/nimma/dist/legacy/cjs/runtime/traverse.js:41:7)
at _traverseBody (/data/node_modules/nimma/dist/legacy/cjs/runtime/traverse.js:17:5)
at _traverse (/data/node_modules/nimma/dist/legacy/cjs/runtime/traverse.js:41:7)
at _traverseBody (/data/node_modules/nimma/dist/legacy/cjs/runtime/traverse.js:17:5)
at _traverse (/data/node_modules/nimma/dist/legacy/cjs/runtime/traverse.js:41:7)
at _traverseBody (/data/node_modules/nimma/dist/legacy/cjs/runtime/traverse.js:17:5)
at _traverse **(/data/node_modules/nimma/dist/legacy/cjs/runtime/traverse.js:41:7)
To Reproduce
Upgrade to @stoplight/spectral-rulesets version 1.19.0.
Run the OpenAPI validation using ibm-openapi-validator or spectral.
Observe the validation error
Expected behavior
The OpenAPI validation should pass without any errors, as it did with @stoplight/spectral-rulesets version 1.18.1.
The text was updated successfully, but these errors were encountered:
Describe the bug
After upgrading to
@stoplight/spectral-rulesets
version 1.19.0, we encountered a validation error that was not present in version 1.18.1.The error message indicates a problem with
spectral
, specifically aTypeError: Cannot read properties of null (reading 'type')
.To Reproduce
@stoplight/spectral-rulesets
version 1.19.0.ibm-openapi-validator
orspectral
.Expected behavior
The OpenAPI validation should pass without any errors, as it did with
@stoplight/spectral-rulesets
version 1.18.1.The text was updated successfully, but these errors were encountered: