zipmark/rspec_api_documentation — pull request #55 by jondeandres (2012-12-13 14:06:11+00:00)
Title: Use the example route instead of the first request_path. URI will have t...

The URI value generated by the json iodocs writer was the first evaluated request_path in all the requests of an exmaple.

iodocs needs a URI with the URL parameters inside, so we have a URI like /seasons/:id instead of /seasons/1 where 1 is the id of the season in the example that generated this URI.

Without this patch iodocs cannot replace the :id parameter in the URI cause it doesn't exist.