node-red / node-red-node-swagger

A set of tools for generating Swagger api documentation based on the HTTP nodes deployed in a flow
Apache License 2.0
62 stars 46 forks source link

"popover is not a function" when trying to open SwaggerUI #69

Closed cesarcer closed 4 years ago

cesarcer commented 4 years ago

Since Node-RED 1.0.0, the Swagger UI is not working (http in > Properties > Edit), usually there should be 3 tabs there called “Info”, “Parameters” and “Responses”, but the content of the 3 tabs is displayed in the same one and the button to add parameters and responses is not working, I can see this error in the browser console:

“oneditprepare 24be5a7.3a18ba6 swagger-doc TypeError: $(...).popover is not a function”

dceejay commented 4 years ago

Being worked on as part of PR from @JonSilver

JonSilver commented 4 years ago

We now have a PR contribution for this issue from @jpwsutton which I'll be integrating and testing this week.

knolleary commented 4 years ago

Version 0.1.9 now published to npm with the fix.