{"action":"created","issue":{"url":"https://api.github.com/repos/mulesoft/api-console/issues/571","repository_url":"https://api.github.com/repos/mulesoft/api-console","labels_url":"https://api.github.com/repos/mulesoft/api-console/issues/571/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft/api-console/issues/571/comments","events_url":"https://api.github.com/repos/mulesoft/api-console/issues/571/events","html_url":"https://github.com/mulesoft/api-console/issues/571","id":331563522,"node_id":"MDU6SXNzdWUzMzE1NjM1MjI=","number":571,"title":"Nesting resources in Version 5","user":{"login":"mduesterhoeft","id":13134480,"node_id":"MDQ6VXNlcjEzMTM0NDgw","avatar_url":"https://avatars1.githubusercontent.com/u/13134480?v=4","gravatar_id":"","url":"https://api.github.com/users/mduesterhoeft","html_url":"https://github.com/mduesterhoeft","followers_url":"https://api.github.com/users/mduesterhoeft/followers","following_url":"https://api.github.com/users/mduesterhoeft/following{/other_user}","gists_url":"https://api.github.com/users/mduesterhoeft/gists{/gist_id}","starred_url":"https://api.github.com/users/mduesterhoeft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mduesterhoeft/subscriptions","organizations_url":"https://api.github.com/users/mduesterhoeft/orgs","repos_url":"https://api.github.com/users/mduesterhoeft/repos","events_url":"https://api.github.com/users/mduesterhoeft/events{/privacy}","received_events_url":"https://api.github.com/users/mduesterhoeft/received_events","type":"User","site_admin":false},"labels":[{"id":916612359,"node_id":"MDU6TGFiZWw5MTY2MTIzNTk=","url":"https://api.github.com/repos/mulesoft/api-console/labels/v5","name":"v5","color":"84b2d8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-12T12:21:09Z","updated_at":"2018-07-23T23:29:52Z","closed_at":"2018-07-23T23:23:18Z","author_association":"NONE","body":"I was just looking at the `5.0.0-preview` version and really like it. One thing that would keep me from using it is that the resources are displayed all on the same level in the navigation:\r\n\r\nIn this [example](https://github.com/raml-org/raml-examples/blob/master/others/world-music-api/api.raml) there is a `/{songId}` resource nested under `/songs`\r\n\r\n```yaml\r\n/songs:\r\n  displayName: Songs\r\n  description:  Access to all songs inside the music world library.\r\n  get:\r\n    securedBy: [ oauth_2_0, null ]\r\n    (monitoringInterval): 30\r\n    queryParameters:\r\n      genre:\r\n        description: filter the songs by genre\r\n  post:\r\n  /{songId}:\r\n    get:\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/13134480/41289874-74b92982-6e4b-11e8-8a83-2a6ce51059ef.png)\r\n\r\nIn the console the resources are displayed on the same level without the ability to collapse the group. Especially for larger APIs this is really getting confusing.\r\n\r\nAny plans to introduce the nesting of resources that was available in earlier versions?\r\n"},"comment":{"url":"https://api.github.com/repos/mulesoft/api-console/issues/comments/407232361","html_url":"https://github.com/mulesoft/api-console/issues/571#issuecomment-407232361","issue_url":"https://api.github.com/repos/mulesoft/api-console/issues/571","id":407232361,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzIzMjM2MQ==","user":{"login":"jarrodek","id":3320020,"node_id":"MDQ6VXNlcjMzMjAwMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/3320020?v=4","gravatar_id":"","url":"https://api.github.com/users/jarrodek","html_url":"https://github.com/jarrodek","followers_url":"https://api.github.com/users/jarrodek/followers","following_url":"https://api.github.com/users/jarrodek/following{/other_user}","gists_url":"https://api.github.com/users/jarrodek/gists{/gist_id}","starred_url":"https://api.github.com/users/jarrodek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarrodek/subscriptions","organizations_url":"https://api.github.com/users/jarrodek/orgs","repos_url":"https://api.github.com/users/jarrodek/repos","events_url":"https://api.github.com/users/jarrodek/events{/privacy}","received_events_url":"https://api.github.com/users/jarrodek/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T23:29:52Z","updated_at":"2018-07-23T23:29:52Z","author_association":"CONTRIBUTOR","body":"All,\r\n\r\nThank you so much for your input. Today I have reverted the changes. The navigation will render visible structure of the API but it isn't quite the tree structure. \r\nIt still renders all available endpoints without interacting with the navigation. However, sub-resources are indented establishing relationship between parent - child.\r\nAnother change replaces long path names with the last part of the path. Since the relationship between list items is established there's no need to render full path.\r\nFinal change is that the navigation renders path even if `displayName` is provided by API author. This enables users to scan the navigation for both names and the path.\r\n\r\nPlease, let me know if you have more comments."}}
{"actor":{"display_login":"jarrodek"}}