{"action":"created","issue":{"url":"https://api.github.com/repos/tim-vandecasteele/grape-swagger/issues/220","labels_url":"https://api.github.com/repos/tim-vandecasteele/grape-swagger/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/tim-vandecasteele/grape-swagger/issues/220/comments","events_url":"https://api.github.com/repos/tim-vandecasteele/grape-swagger/issues/220/events","html_url":"https://github.com/tim-vandecasteele/grape-swagger/pull/220","id":58957447,"number":220,"title":"Standalone appearance of nested routes","user":{"login":"croeck","id":2677623,"avatar_url":"https://avatars.githubusercontent.com/u/2677623?v=3","gravatar_id":"","url":"https://api.github.com/users/croeck","html_url":"https://github.com/croeck","followers_url":"https://api.github.com/users/croeck/followers","following_url":"https://api.github.com/users/croeck/following{/other_user}","gists_url":"https://api.github.com/users/croeck/gists{/gist_id}","starred_url":"https://api.github.com/users/croeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/croeck/subscriptions","organizations_url":"https://api.github.com/users/croeck/orgs","repos_url":"https://api.github.com/users/croeck/repos","events_url":"https://api.github.com/users/croeck/events{/privacy}","received_events_url":"https://api.github.com/users/croeck/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-25T19:38:36Z","updated_at":"2015-03-11T13:30:52Z","closed_at":"2015-03-02T17:22:30Z","pull_request":{"url":"https://api.github.com/repos/tim-vandecasteele/grape-swagger/pulls/220","html_url":"https://github.com/tim-vandecasteele/grape-swagger/pull/220","diff_url":"https://github.com/tim-vandecasteele/grape-swagger/pull/220.diff","patch_url":"https://github.com/tim-vandecasteele/grape-swagger/pull/220.patch"},"body":"Rerences issue #130 and the comment by @antek-drzewiecki. Also includes the README update.\r\n\r\nHere is what I did:\r\n- Build `combined_namespace_routes` that includes all routes if no nested namespace shall appear as standalone resource. If one shall appear as standalone resource it is not added to the `parent_route` but will be its own route.\r\n- Transform the full namespace path to a more URL friendly format by replacing `_` with `-` and `/` with `_` or use a custom url for the route if specified in the `swagger_name` option.\r\n- Added a basic spec that tests the exposure for APIs with `header` and `path` versioning.\r\n\r\nLet me know what you think!"},"comment":{"url":"https://api.github.com/repos/tim-vandecasteele/grape-swagger/issues/comments/78262641","html_url":"https://github.com/tim-vandecasteele/grape-swagger/pull/220#issuecomment-78262641","issue_url":"https://api.github.com/repos/tim-vandecasteele/grape-swagger/issues/220","id":78262641,"user":{"login":"dblock","id":542335,"avatar_url":"https://avatars.githubusercontent.com/u/542335?v=3","gravatar_id":"","url":"https://api.github.com/users/dblock","html_url":"https://github.com/dblock","followers_url":"https://api.github.com/users/dblock/followers","following_url":"https://api.github.com/users/dblock/following{/other_user}","gists_url":"https://api.github.com/users/dblock/gists{/gist_id}","starred_url":"https://api.github.com/users/dblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblock/subscriptions","organizations_url":"https://api.github.com/users/dblock/orgs","repos_url":"https://api.github.com/users/dblock/repos","events_url":"https://api.github.com/users/dblock/events{/privacy}","received_events_url":"https://api.github.com/users/dblock/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T13:30:52Z","updated_at":"2015-03-11T13:30:52Z","body":"I ran into an issue with this change, see https://github.com/tim-vandecasteele/grape-swagger/issues/227. Digging through it now, but would appreciate some help."}}