Good afternoon, colleagues. I need your help. Can't open the swagger UI. Inside the Node-red editor, I can see it.
I installed node-red-node-swagger package
http://localhost:1880/http-api/swagger.json returns something like thise
{"swagger":"2.0","info":{"title":"My Node-RED API","version":"0.0.1"},"basePath":"/","paths":{"/v1/threads":{"post":{"summary":"sasd","description":"asd","tags":["asd"],"consumes":["asd"],"produces":["asd"],"deprecated":false,"parameters":,"deprecated":false,"parameters":[],"responses":{}}}}}
thanks in advance
Did you add the template to settings.js as explained in the readme?
Perhaps I have a mistake?
Did you follow the Path Swagger Generation
insrtructons in the Readme?
Can you provide your flow so I can see the settings you have in the http-in nodes.
In order to make code more readable and importable it is important to surround your code with three backticks
```
like this
```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json
system
Closed
1 August 2021 12:46
6
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.