You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, amazing project! Conceptually and well done too.
I am missing having the route parameter (e.g. it's used in mustache html_example.mustache) in the JSON files. I don't use the generated html files, so I need the json to have all those things so I can display it otherwise.
I used requests.first.request_path, but the problem with that one is that params like :id, :model_id are already replaced with IDs here, so it's not good.
While you're at it you could also add the http_method property, so it doesn't have to be guessed from requests.first.
Thanks and keep up the good work!
The text was updated successfully, but these errors were encountered:
mrbrdo
added a commit
to mrbrdo/rspec_api_documentation
that referenced
this issue
Mar 19, 2013
Hey,
First of all, amazing project! Conceptually and well done too.
I am missing having the route parameter (e.g. it's used in mustache html_example.mustache) in the JSON files. I don't use the generated html files, so I need the json to have all those things so I can display it otherwise.
I used requests.first.request_path, but the problem with that one is that params like :id, :model_id are already replaced with IDs here, so it's not good.
While you're at it you could also add the http_method property, so it doesn't have to be guessed from requests.first.
Thanks and keep up the good work!
The text was updated successfully, but these errors were encountered: