-
Notifications
You must be signed in to change notification settings - Fork 476
Add example to path param #325
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I can't even get a description to show up for a |
Yeah these aren't first class |
+1 Is there a workaround to make desc appear in the documentation of route params? |
I'm facing this issue as well. I've written two tests that related to documentation & examples for route params. I'm happy to try and fix it too, if someone will point me in the right direction. @dblock where does this need to be fixed? What needs to be changed? |
in this project, but I don't know specifically where |
Can someone please verify whether #943 fixes this? |
I have been adding examples to some of my parameters, but up to this point they have not been path params. I tried to do it with the following but it doesn't show up.
route_param :id, desc: "User ID", documentation: { example: User.first.id } do
The text was updated successfully, but these errors were encountered: