{"action":"created","issue":{"url":"https://api.github.com/repos/girder/girder/issues/1223","repository_url":"https://api.github.com/repos/girder/girder","labels_url":"https://api.github.com/repos/girder/girder/issues/1223/labels{/name}","comments_url":"https://api.github.com/repos/girder/girder/issues/1223/comments","events_url":"https://api.github.com/repos/girder/girder/issues/1223/events","html_url":"https://github.com/girder/girder/pull/1223","id":131424691,"number":1223,"title":"Update to Swagger Spec 2.0","user":{"login":"msmolens","id":7122091,"avatar_url":"https://avatars.githubusercontent.com/u/7122091?v=3","gravatar_id":"","url":"https://api.github.com/users/msmolens","html_url":"https://github.com/msmolens","followers_url":"https://api.github.com/users/msmolens/followers","following_url":"https://api.github.com/users/msmolens/following{/other_user}","gists_url":"https://api.github.com/users/msmolens/gists{/gist_id}","starred_url":"https://api.github.com/users/msmolens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmolens/subscriptions","organizations_url":"https://api.github.com/users/msmolens/orgs","repos_url":"https://api.github.com/users/msmolens/repos","events_url":"https://api.github.com/users/msmolens/events{/privacy}","received_events_url":"https://api.github.com/users/msmolens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-04T17:56:57Z","updated_at":"2016-02-04T18:24:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/girder/girder/pulls/1223","html_url":"https://github.com/girder/girder/pull/1223","diff_url":"https://github.com/girder/girder/pull/1223.diff","patch_url":"https://github.com/girder/girder/pull/1223.patch"},"body":"The /describe endpoint now returns an API description that implements Swagger Spec 2.0:\r\nhttps://github.com/OAI/OpenAPI-Specification/blob/0122c22e7fb93b571740dd3c6e141c65563a18be/versions/2.0.md\r\n\r\nPreviously, the /describe endpoint returned the Resource Listing and the\r\n/describe/{resource} endpoint returned the API Declaration for a particular\r\nresource. In Swagger Spec 2.0, the resource listing and API declaration are combined. Therefore, the /describe/{resource} endpoint is removed.\r\n\r\nAlso upgrades to swagger-ui 2.1.4 to support generating the front-end for a Swagger Spec 2.0 description.\r\n\r\nFixes https://github.com/girder/girder/issues/371\r\n"},"comment":{"url":"https://api.github.com/repos/girder/girder/issues/comments/179980626","html_url":"https://github.com/girder/girder/pull/1223#issuecomment-179980626","issue_url":"https://api.github.com/repos/girder/girder/issues/1223","id":179980626,"user":{"login":"zachmullen","id":555959,"avatar_url":"https://avatars.githubusercontent.com/u/555959?v=3","gravatar_id":"","url":"https://api.github.com/users/zachmullen","html_url":"https://github.com/zachmullen","followers_url":"https://api.github.com/users/zachmullen/followers","following_url":"https://api.github.com/users/zachmullen/following{/other_user}","gists_url":"https://api.github.com/users/zachmullen/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmullen/subscriptions","organizations_url":"https://api.github.com/users/zachmullen/orgs","repos_url":"https://api.github.com/users/zachmullen/repos","events_url":"https://api.github.com/users/zachmullen/events{/privacy}","received_events_url":"https://api.github.com/users/zachmullen/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T18:24:21Z","updated_at":"2016-02-04T18:24:21Z","body":"There is a small cosmetic issue with the front-end, a title is getting added in the page that wasn't there before:\r\n\r\n![screen shot 2016-02-04 at 1 21 37 pm](https://cloud.githubusercontent.com/assets/555959/12825085/84e2b5e8-cb42-11e5-903a-8113d4f66396.png)\r\n\r\nHopefully there's a JS option to hide that, but if not we can hide it with CSS, it's got the `info_title` class."}}