Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json "route" parameter missing #59

Closed
mrbrdo opened this issue Mar 13, 2013 · 0 comments
Closed

json "route" parameter missing #59

mrbrdo opened this issue Mar 13, 2013 · 0 comments

Comments

@mrbrdo
Copy link
Contributor

mrbrdo commented Mar 13, 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!

mrbrdo added a commit to mrbrdo/rspec_api_documentation that referenced this issue Mar 19, 2013
@mrbrdo mrbrdo closed this as completed Mar 19, 2013
oestrich added a commit that referenced this issue Mar 19, 2013
write http_method and route in custom json format, fixes #59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant