-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
What are the steps to reproduce?
- Install node-red-node-swagger on Node-RED flow editor.
- Create REST API using http-in, template, http response nodes.
- Import the generated swagger definition on Swagger Editor using the URL, http://localhost:1880/http-api/swagger.json .
- Access the endpoint from the Swagger Editor.
What happens?
"404 Not Found" error occurred because the Swagger Editor access the own URL, https://editor.swagger.io/
What do you expect to happen?
The swagger definition contains host and schemes fields. And the Swagger Editor can access the endpoint on Node-RED.
Please tell us about your environment:
- Node-RED version: 1.2.9
- Node.js version: 10.20.1
- npm version: 7.6.0
- Platform/OS: macOS Big Sur 11.2.3
- Browser: Google Chrome 89.0.4389.114 (Official Build) (x86_64)
Metadata
Metadata
Assignees
Labels
No labels

