Rationale for nested resources


#1

Hi, I’m curious about the rationale behind using nested resources. I understand the logical intent (that a subpath is a nested resource under a parent) but my concern is around the nesting of YAML structures that it creates. A path like /foo/{id}/bar/{id} starts to have quite a deep nested structure. What benefits did nesting bring versus just defining each path at the root?