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

swagger-ui.html wont load outside of node-red editor #82

Open jim-stroup opened 2 years ago

jim-stroup commented 2 years ago

I am having difficulties accessing the Swagger HTML outside of the node-red editor. I am on a closed network running node-red in a docker container.

Within the right-hand Swagger panel (inside the editor), I can see everything perfectly. When I try to access: <url>/swagger-ui/swagger-ui.html all I see is a blue alert that starts with "I see you're lacking Swagger doc..".

skewty commented 2 years ago

image

skewty commented 2 years ago

The swagger.json URL @ http://base-host-url/http-api/swagger.json is working however.