{"action":"created","issue":{"url":"https://api.github.com/repos/instructure/canvas-lms/issues/869","repository_url":"https://api.github.com/repos/instructure/canvas-lms","labels_url":"https://api.github.com/repos/instructure/canvas-lms/issues/869/labels{/name}","comments_url":"https://api.github.com/repos/instructure/canvas-lms/issues/869/comments","events_url":"https://api.github.com/repos/instructure/canvas-lms/issues/869/events","html_url":"https://github.com/instructure/canvas-lms/issues/869","id":167379393,"number":869,"title":"Swagger JSON doesn't pass validator","user":{"login":"bootstraponline","id":1173057,"avatar_url":"https://avatars.githubusercontent.com/u/1173057?v=3","gravatar_id":"","url":"https://api.github.com/users/bootstraponline","html_url":"https://github.com/bootstraponline","followers_url":"https://api.github.com/users/bootstraponline/followers","following_url":"https://api.github.com/users/bootstraponline/following{/other_user}","gists_url":"https://api.github.com/users/bootstraponline/gists{/gist_id}","starred_url":"https://api.github.com/users/bootstraponline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bootstraponline/subscriptions","organizations_url":"https://api.github.com/users/bootstraponline/orgs","repos_url":"https://api.github.com/users/bootstraponline/repos","events_url":"https://api.github.com/users/bootstraponline/events{/privacy}","received_events_url":"https://api.github.com/users/bootstraponline/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-25T14:26:42Z","updated_at":"2016-08-19T19:02:13Z","closed_at":null,"body":"### Summary:\r\n\r\nThe Canvas LMS Swagger v1.2 JSON doesn't pass the apimatic.io validator\r\n\r\n### Steps to reproduce:\r\n\r\n 1. Create new project on apimatic.io using `https://canvas.instructure.com/doc/api/api-docs.json`\r\n 2. Observe the validation errors\r\n\r\n### Expected behavior:\r\n\r\nNo validation errors\r\n\r\n### Additional notes:\r\n\r\nI've [uploaded a list of the errors to GitHub](https://gist.github.com/bootstraponline/ea458a076a2b7defcfeee20eae037451).\r\n\r\nIt'd be nice to automatically validate the JSON as part of the generation process to prevent regressions like this."},"comment":{"url":"https://api.github.com/repos/instructure/canvas-lms/issues/comments/241106465","html_url":"https://github.com/instructure/canvas-lms/issues/869#issuecomment-241106465","issue_url":"https://api.github.com/repos/instructure/canvas-lms/issues/869","id":241106465,"user":{"login":"bootstraponline","id":1173057,"avatar_url":"https://avatars.githubusercontent.com/u/1173057?v=3","gravatar_id":"","url":"https://api.github.com/users/bootstraponline","html_url":"https://github.com/bootstraponline","followers_url":"https://api.github.com/users/bootstraponline/followers","following_url":"https://api.github.com/users/bootstraponline/following{/other_user}","gists_url":"https://api.github.com/users/bootstraponline/gists{/gist_id}","starred_url":"https://api.github.com/users/bootstraponline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bootstraponline/subscriptions","organizations_url":"https://api.github.com/users/bootstraponline/orgs","repos_url":"https://api.github.com/users/bootstraponline/repos","events_url":"https://api.github.com/users/bootstraponline/events{/privacy}","received_events_url":"https://api.github.com/users/bootstraponline/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T19:02:13Z","updated_at":"2016-08-19T19:02:13Z","body":"apimatic says the problems are in our Swagger definitions. :(\r\n\r\n```\r\n1 ) Some models did not have any fields defined. \r\n2 ) 2D Array for a field type of string.\r\n3 ) Duplicate fields defined in the model.\r\n```\r\n\r\nIt's difficult to auto generate bindings when the JSON format isn't valid."}}
{"actor":{"display_login":"bootstraponline"}}