{"action":"created","issue":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1367","labels_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1367/labels{/name}","comments_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1367/comments","events_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1367/events","html_url":"https://github.com/rejectedsoftware/vibe.d/issues/1367","id":125678692,"number":1367,"title":"Allow to register REST class w/o defining an interface","user":{"login":"MartinNowak","id":288976,"avatar_url":"https://avatars.githubusercontent.com/u/288976?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinNowak","html_url":"https://github.com/MartinNowak","followers_url":"https://api.github.com/users/MartinNowak/followers","following_url":"https://api.github.com/users/MartinNowak/following{/other_user}","gists_url":"https://api.github.com/users/MartinNowak/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinNowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinNowak/subscriptions","organizations_url":"https://api.github.com/users/MartinNowak/orgs","repos_url":"https://api.github.com/users/MartinNowak/repos","events_url":"https://api.github.com/users/MartinNowak/events{/privacy}","received_events_url":"https://api.github.com/users/MartinNowak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-08T19:38:11Z","updated_at":"2016-01-08T19:42:50Z","closed_at":null,"body":"The mandatory interface declaration is often annoying and completely redundant.\r\nWould be nice if it were possible to register routes for every public method.\r\nIf an interface is necessary for technical reasons we could generate one."},"comment":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/comments/170103930","html_url":"https://github.com/rejectedsoftware/vibe.d/issues/1367#issuecomment-170103930","issue_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1367","id":170103930,"user":{"login":"s-ludwig","id":1645969,"avatar_url":"https://avatars.githubusercontent.com/u/1645969?v=3","gravatar_id":"","url":"https://api.github.com/users/s-ludwig","html_url":"https://github.com/s-ludwig","followers_url":"https://api.github.com/users/s-ludwig/followers","following_url":"https://api.github.com/users/s-ludwig/following{/other_user}","gists_url":"https://api.github.com/users/s-ludwig/gists{/gist_id}","starred_url":"https://api.github.com/users/s-ludwig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-ludwig/subscriptions","organizations_url":"https://api.github.com/users/s-ludwig/orgs","repos_url":"https://api.github.com/users/s-ludwig/repos","events_url":"https://api.github.com/users/s-ludwig/events{/privacy}","received_events_url":"https://api.github.com/users/s-ludwig/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T19:42:50Z","updated_at":"2016-01-08T19:42:50Z","body":"Generating an interface would indeed be a viable alternative approach in some situations. Interestingly, this is also completely orthogonal to the REST interface generator."}}