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
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?
The text was updated successfully, but these errors were encountered:
I have some routes for
show
like so:/foo/{foo_id}/bar/{id}.json
/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?The text was updated successfully, but these errors were encountered: