Forum Discussion

fsamwel's avatar
Occasional Contributor
4 years ago

undefined is not an object (evaluating 'm[b]')

I get in Swaggerhub errors "undefined is not an object (evaluating 'm[b]')" that I can't explain.


Can you please tell me what could be wrong with the specifications that could cause this?


I tested the specs with swagger-cli validate and with npm run oas:lint ( and they don't give any error or warning.


Steps to reproduce:

1. Open

2. In the right pane click the caret to open component "WozObjectHal"

3. Now the code pane shows 6 errors "undefined is not an object (evaluating 'm[b]')", all at line 0.