{"action":"created","issue":{"url":"https://api.github.com/repos/SpoonX/aurelia-api/issues/176","repository_url":"https://api.github.com/repos/SpoonX/aurelia-api","labels_url":"https://api.github.com/repos/SpoonX/aurelia-api/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/SpoonX/aurelia-api/issues/176/comments","events_url":"https://api.github.com/repos/SpoonX/aurelia-api/issues/176/events","html_url":"https://github.com/SpoonX/aurelia-api/issues/176","id":185425764,"number":176,"title":"Question: Configure endpoints from Swagger","user":{"login":"joshbooker","id":2698896,"avatar_url":"https://avatars.githubusercontent.com/u/2698896?v=3","gravatar_id":"","url":"https://api.github.com/users/joshbooker","html_url":"https://github.com/joshbooker","followers_url":"https://api.github.com/users/joshbooker/followers","following_url":"https://api.github.com/users/joshbooker/following{/other_user}","gists_url":"https://api.github.com/users/joshbooker/gists{/gist_id}","starred_url":"https://api.github.com/users/joshbooker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshbooker/subscriptions","organizations_url":"https://api.github.com/users/joshbooker/orgs","repos_url":"https://api.github.com/users/joshbooker/repos","events_url":"https://api.github.com/users/joshbooker/events{/privacy}","received_events_url":"https://api.github.com/users/joshbooker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-10-26T15:20:59Z","updated_at":"2016-10-27T15:34:44Z","closed_at":"2016-10-27T13:57:09Z","body":"Has anyone explored the possibility of configuring aurelia-api endpoints from a [swagger.json](https://gist.github.com/joshbooker/2c82b230b3c8a05230bfcfaf7f583ef9) definition?\r\n\r\nI like the way the swagger [parameters object](http://swagger.io/specification/#parameterObject) has types: header, path, query, body which could be used to expand upon and standardize the way aurelia-api builds paths and query strings.\r\n\r\nPerhaps there would be implications to aurelia-orm as well since swagger definitions contain schema.\r\n\r\nThanks and keep up the great work!"},"comment":{"url":"https://api.github.com/repos/SpoonX/aurelia-api/issues/comments/256677336","html_url":"https://github.com/SpoonX/aurelia-api/issues/176#issuecomment-256677336","issue_url":"https://api.github.com/repos/SpoonX/aurelia-api/issues/176","id":256677336,"user":{"login":"joshbooker","id":2698896,"avatar_url":"https://avatars.githubusercontent.com/u/2698896?v=3","gravatar_id":"","url":"https://api.github.com/users/joshbooker","html_url":"https://github.com/joshbooker","followers_url":"https://api.github.com/users/joshbooker/followers","following_url":"https://api.github.com/users/joshbooker/following{/other_user}","gists_url":"https://api.github.com/users/joshbooker/gists{/gist_id}","starred_url":"https://api.github.com/users/joshbooker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshbooker/subscriptions","organizations_url":"https://api.github.com/users/joshbooker/orgs","repos_url":"https://api.github.com/users/joshbooker/repos","events_url":"https://api.github.com/users/joshbooker/events{/privacy}","received_events_url":"https://api.github.com/users/joshbooker/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T15:34:44Z","updated_at":"2016-10-27T15:34:44Z","body":"Curious, can criteria object be used synonymously with querystring parameters?\r\nlike:\r\n.find('categories', {\r\n       $select: 'CategoryID,CategoryName',\r\n       $filter: 'CategoryID gt 5',\r\n        $orderby : 'CategoryName'\r\n      })\r\nwould request:\r\n/api/Categories?$filter=CategoryID gt 5&$select=CategoryID,CategoryName&$orderby=CategoryName"}}
{"actor":{"display_login":"joshbooker"}}