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

Settings through node? #39

Open mikakaraila opened 8 years ago

mikakaraila commented 8 years ago

I have multiple flows and multiple json files. I would like to get basePath, info from the flow itself. Is this possible? I do not want to edit swagger.json or settings.js each time.

knolleary commented 8 years ago

Do you mean you have multiple flow files and regularly switch between them? Just as you can specify different flow files on the command line, you can also specify a different settings file.

I agree it would be nice to be able to edit the swagger template from in the editor, but it isn't something we have any bandwidth to look at currently.