redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

Incorrect error message

Open tatomyr opened this issue 3 years ago • 0 comments

Describe the bug Sometimes we get the following error:

  - Cannot read properties of null (reading 'allOf').

However, it isn't clear where exactly to look. Moreover, there may be no allOf keyword in the definition at all.

To Reproduce See the conversation.

Expected behavior It should show a correct error message whatever it is.

OpenAPI definition See here.

Redocly Version(s) 1.0.0-beta.104

Node.js Version(s) v16.14.0

tatomyr avatar Jul 11 '22 18:07 tatomyr