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 47 forks source link

If the path does not include a leading '/', swagger does not place one #28

Closed codymwalker closed 8 years ago

codymwalker commented 8 years ago

Node-RED editor handles this by including a leading '/', whether the user includes it or not in the UI. However, when we parse it for swagger generation, it's not included when searching there.

Additional functionality needs to be included to add a leading '/' if there is not one when generating the swagger paths.

knolleary commented 8 years ago

@lostinthestory are you planning to fix this or want me to look at it?

codymwalker commented 8 years ago

Hey Nick. I'll fix this. Just been out traveling a bit. Wanted to remind myself.

On Thursday, October 15, 2015, knolleary notifications@github.com wrote:

@lostinthestory https://github.com/lostinthestory are you planning to fix this or want me to look at it?

— Reply to this email directly or view it on GitHub https://github.com/node-red/node-red-node-swagger/issues/28#issuecomment-148323583 .

Cody M. Walker Software Engineer (919)394-9054