{"action":"created","issue":{"url":"https://api.github.com/repos/olivierlsc/swagger-express-ts/issues/7","repository_url":"https://api.github.com/repos/olivierlsc/swagger-express-ts","labels_url":"https://api.github.com/repos/olivierlsc/swagger-express-ts/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/olivierlsc/swagger-express-ts/issues/7/comments","events_url":"https://api.github.com/repos/olivierlsc/swagger-express-ts/issues/7/events","html_url":"https://github.com/olivierlsc/swagger-express-ts/issues/7","id":309540763,"number":7,"title":"Support for $ref definitions and items: $ref for array definitions","user":{"login":"aaronstaves","id":363743,"avatar_url":"https://avatars1.githubusercontent.com/u/363743?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronstaves","html_url":"https://github.com/aaronstaves","followers_url":"https://api.github.com/users/aaronstaves/followers","following_url":"https://api.github.com/users/aaronstaves/following{/other_user}","gists_url":"https://api.github.com/users/aaronstaves/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronstaves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronstaves/subscriptions","organizations_url":"https://api.github.com/users/aaronstaves/orgs","repos_url":"https://api.github.com/users/aaronstaves/repos","events_url":"https://api.github.com/users/aaronstaves/events{/privacy}","received_events_url":"https://api.github.com/users/aaronstaves/received_events","type":"User","site_admin":false},"labels":[{"id":779618458,"url":"https://api.github.com/repos/olivierlsc/swagger-express-ts/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-28T21:35:57Z","updated_at":"2018-04-06T14:53:32Z","closed_at":"2018-04-03T11:21:45Z","author_association":"NONE","body":"The current spec specifies that any definition object will be of type \"name\": [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#patterned-fields-7).\r\n\r\nLooks like there are a handful of fields missing.  The one's I'm specifically interested in are the $ref and items fields that allows for referencing other sub-definitions inside of a definition, as well as referencing what type belongs in an array.\r\n\r\nYou can see these described in the spec in the [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schemaObject) section.\r\n\r\nI'll have a PR coming soon for a proposed fix.  Otherwise let me know if there's anything else I could do to help this get pushed."},"comment":{"url":"https://api.github.com/repos/olivierlsc/swagger-express-ts/issues/comments/379278297","html_url":"https://github.com/olivierlsc/swagger-express-ts/issues/7#issuecomment-379278297","issue_url":"https://api.github.com/repos/olivierlsc/swagger-express-ts/issues/7","id":379278297,"user":{"login":"aaronstaves","id":363743,"avatar_url":"https://avatars1.githubusercontent.com/u/363743?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronstaves","html_url":"https://github.com/aaronstaves","followers_url":"https://api.github.com/users/aaronstaves/followers","following_url":"https://api.github.com/users/aaronstaves/following{/other_user}","gists_url":"https://api.github.com/users/aaronstaves/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronstaves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronstaves/subscriptions","organizations_url":"https://api.github.com/users/aaronstaves/orgs","repos_url":"https://api.github.com/users/aaronstaves/repos","events_url":"https://api.github.com/users/aaronstaves/events{/privacy}","received_events_url":"https://api.github.com/users/aaronstaves/received_events","type":"User","site_admin":false},"created_at":"2018-04-06T14:53:32Z","updated_at":"2018-04-06T14:53:32Z","author_association":"NONE","body":"@olivierlsc thanks, but not sure how much time I'd have to contribute.  The project I was working on stopped using inversify so not sure how relevant swagger-express-ts will be for me anymore.\r\n\r\nI'd be happy to keep an eye out on things going on with this project though and help out if I can."}}
{"actor":{"display_login":"aaronstaves"}}