waterwheel.js
waterwheel.js copied to clipboard
"Cannot read property 'hasOwnProperty' of undefined" during populateResources()
I am testing out Waterwheel for use on a project.
I was able to setup the project with OAuth and Cors but one i got that online, i was unable to parse the openapi/jsonapi
resources with populateResources()
.
During iteration over the definitions, the implementation expects for each Tag to exist, however, this is not true. In my case on a basic site, the Actions Tag exists, but there are not "Actions" definitions. The site is a simple build, the minimal install of 8.4.3 with a handful of core modules and OpenApi, Simple OAuth, Cors. and Json Api.
Ultimately the line the throws the error is swagger.js#L15 as a result of using [entity]
on line 13.