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

Viewing the Swagger-UI outside of the NR editor #74

Open Hugobox opened 3 years ago

Hugobox commented 3 years ago

Hi! I would like to share the Swagger UI to colleagues to test the API without being able to modify the flows. So I thought I could browse directly to http://localhost:1880/swagger-ui/swagger-ui.html but it displays an error message "I see you're lacking Swagger doc..." instead of the populated Swagger UI that is normally displayed as an iframe in the Node-Red editor. Do you think it'd be easy to implement?

dceejay commented 3 years ago

As this node is several years old then the answer is probably yes it could be improved / fixed, but unlikely by the original authors. I'm sure we would happily consider a pull request if someone wanted to take it upon themselves to update/fix it.

skewty commented 2 years ago

Duplicate of #82