{"action":"created","issue":{"url":"https://api.github.com/repos/luizmineo/redstone.dart/issues/76","labels_url":"https://api.github.com/repos/luizmineo/redstone.dart/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/luizmineo/redstone.dart/issues/76/comments","events_url":"https://api.github.com/repos/luizmineo/redstone.dart/issues/76/events","html_url":"https://github.com/luizmineo/redstone.dart/issues/76","id":57361974,"number":76,"title":"Question: Routes with optional extension","user":{"login":"austincummings","id":3136967,"avatar_url":"https://avatars.githubusercontent.com/u/3136967?v=3","gravatar_id":"","url":"https://api.github.com/users/austincummings","html_url":"https://github.com/austincummings","followers_url":"https://api.github.com/users/austincummings/followers","following_url":"https://api.github.com/users/austincummings/following{/other_user}","gists_url":"https://api.github.com/users/austincummings/gists{/gist_id}","starred_url":"https://api.github.com/users/austincummings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austincummings/subscriptions","organizations_url":"https://api.github.com/users/austincummings/orgs","repos_url":"https://api.github.com/users/austincummings/repos","events_url":"https://api.github.com/users/austincummings/events{/privacy}","received_events_url":"https://api.github.com/users/austincummings/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-11T19:11:47Z","updated_at":"2015-02-12T01:29:16Z","closed_at":"2015-02-12T01:29:16Z","body":"Hello again,\r\n\r\nFirst off I would like to say I've been using your library for awhile and it is absolutely great to work with. Now I was wondering if there is a way to have a route that has an optional extension/suffix. I see that the `@DefaultRoute` annotation has a `pathSuffix`, but I would like to have one route that catches `/queries/1.json` and `/queries/1`. Then have that route run the same logic despite the additional extension. This is for a RESTful API.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/luizmineo/redstone.dart/issues/comments/74001270","html_url":"https://github.com/luizmineo/redstone.dart/issues/76#issuecomment-74001270","issue_url":"https://api.github.com/repos/luizmineo/redstone.dart/issues/76","id":74001270,"user":{"login":"austincummings","id":3136967,"avatar_url":"https://avatars.githubusercontent.com/u/3136967?v=3","gravatar_id":"","url":"https://api.github.com/users/austincummings","html_url":"https://github.com/austincummings","followers_url":"https://api.github.com/users/austincummings/followers","following_url":"https://api.github.com/users/austincummings/following{/other_user}","gists_url":"https://api.github.com/users/austincummings/gists{/gist_id}","starred_url":"https://api.github.com/users/austincummings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austincummings/subscriptions","organizations_url":"https://api.github.com/users/austincummings/orgs","repos_url":"https://api.github.com/users/austincummings/repos","events_url":"https://api.github.com/users/austincummings/events{/privacy}","received_events_url":"https://api.github.com/users/austincummings/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T01:29:16Z","updated_at":"2015-02-12T01:29:16Z","body":"That works for me. Thanks."}}