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

DRY Documentation and Nested Routes #152

Open
josh1703658784 opened this issue Oct 27, 2016 · 0 comments
Open

DRY Documentation and Nested Routes #152

josh1703658784 opened this issue Oct 27, 2016 · 0 comments

Comments

@josh1703658784
Copy link

josh1703658784 commented Oct 27, 2016

I have some routes for show like so:

  1. /foo/{foo_id}/bar/{id}.json
  2. /foo/{id}.json

I'm trying to DRY up my documentation.

Can I somehow specify path variables (especially when nested) while also DRYing up my documentation? For example, for the two paths above, could I have a single show documented in a base class that would handle both (and other similar) cases?

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