{"action":"created","issue":{"url":"https://api.github.com/repos/Surnet/swagger-jsdoc/issues/38","repository_url":"https://api.github.com/repos/Surnet/swagger-jsdoc","labels_url":"https://api.github.com/repos/Surnet/swagger-jsdoc/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/Surnet/swagger-jsdoc/issues/38/comments","events_url":"https://api.github.com/repos/Surnet/swagger-jsdoc/issues/38/events","html_url":"https://github.com/Surnet/swagger-jsdoc/issues/38","id":175700715,"number":38,"title":"definition? definitions?","user":{"login":"Maples7","id":9960982,"avatar_url":"https://avatars.githubusercontent.com/u/9960982?v=3","gravatar_id":"","url":"https://api.github.com/users/Maples7","html_url":"https://github.com/Maples7","followers_url":"https://api.github.com/users/Maples7/followers","following_url":"https://api.github.com/users/Maples7/following{/other_user}","gists_url":"https://api.github.com/users/Maples7/gists{/gist_id}","starred_url":"https://api.github.com/users/Maples7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maples7/subscriptions","organizations_url":"https://api.github.com/users/Maples7/orgs","repos_url":"https://api.github.com/users/Maples7/repos","events_url":"https://api.github.com/users/Maples7/events{/privacy}","received_events_url":"https://api.github.com/users/Maples7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-08T09:00:31Z","updated_at":"2016-09-08T09:59:35Z","closed_at":null,"body":"In this package, [keyword `definition` is used](https://github.com/Surnet/swagger-jsdoc#re-using-model-definitions). However, in swagger spec 2.0, [`definitions` is used](https://github.com/OAI/OpenAPI-Specification/blob/master//versions/2.0.md#schema).\r\n\r\nAny idea to comply to swagger spec 2.0? Or I've just missed some details? :open_mouth: "},"comment":{"url":"https://api.github.com/repos/Surnet/swagger-jsdoc/issues/comments/245551040","html_url":"https://github.com/Surnet/swagger-jsdoc/issues/38#issuecomment-245551040","issue_url":"https://api.github.com/repos/Surnet/swagger-jsdoc/issues/38","id":245551040,"user":{"login":"kalinchernev","id":1923476,"avatar_url":"https://avatars.githubusercontent.com/u/1923476?v=3","gravatar_id":"","url":"https://api.github.com/users/kalinchernev","html_url":"https://github.com/kalinchernev","followers_url":"https://api.github.com/users/kalinchernev/followers","following_url":"https://api.github.com/users/kalinchernev/following{/other_user}","gists_url":"https://api.github.com/users/kalinchernev/gists{/gist_id}","starred_url":"https://api.github.com/users/kalinchernev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalinchernev/subscriptions","organizations_url":"https://api.github.com/users/kalinchernev/orgs","repos_url":"https://api.github.com/users/kalinchernev/repos","events_url":"https://api.github.com/users/kalinchernev/events{/privacy}","received_events_url":"https://api.github.com/users/kalinchernev/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T09:59:35Z","updated_at":"2016-09-08T09:59:35Z","body":"Hi @Maples7 you have a good point here.\r\nCurrently, I've opened a pull for solving similar issue for tag vs tags #36\r\nIn this pull request I already include a deprecator function that will be used for some more properties, i.e definition vs definitions. Possibly there are more tags to be fixed in similar way.\r\nThanks for noticing and reporting, I could continue on the refactoring on these properties after the tag case is merged."}}
{"actor":{"display_login":"kalinchernev"}}