kevinrenskers/raml2html — pull request #3 by danielb2 (2014-04-05 07:03:53+00:00)
Title: BUG: fix uriParameter not showing up correctly in nested paths

uriParameters did not show up in paths like this `/something/{id}/something/{foo}/bar`

In this case, uriParameters was completely empty. My code change allows both `{id}` and `{foo}` to show up.

However, I'm new to handlebars and couldn't figure out how to make this a conditional. i.e. now uriParameters show up whether it's populated or not.

Also, this is probably not the best way of doing this, so if you have a better idea and hadn't noticed the bug, you should probably scrap this ;)