{"action":"closed","number":464,"pull_request":{"url":"https://api.github.com/repos/OAI/OpenAPI-Specification/pulls/464","id":45331527,"html_url":"https://github.com/OAI/OpenAPI-Specification/pull/464","diff_url":"https://github.com/OAI/OpenAPI-Specification/pull/464.diff","patch_url":"https://github.com/OAI/OpenAPI-Specification/pull/464.patch","issue_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/464","number":464,"state":"closed","locked":false,"title":"Generate TOCs for specification docs","user":{"login":"scottydawg","id":923236,"avatar_url":"https://avatars.githubusercontent.com/u/923236?v=3","gravatar_id":"","url":"https://api.github.com/users/scottydawg","html_url":"https://github.com/scottydawg","followers_url":"https://api.github.com/users/scottydawg/followers","following_url":"https://api.github.com/users/scottydawg/following{/other_user}","gists_url":"https://api.github.com/users/scottydawg/gists{/gist_id}","starred_url":"https://api.github.com/users/scottydawg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottydawg/subscriptions","organizations_url":"https://api.github.com/users/scottydawg/orgs","repos_url":"https://api.github.com/users/scottydawg/repos","events_url":"https://api.github.com/users/scottydawg/events{/privacy}","received_events_url":"https://api.github.com/users/scottydawg/received_events","type":"User","site_admin":false},"body":"This change adds a gulp task for generating a variant of the markdown specification with a table of contents (using the [DocToc](https://github.com/thlorenz/doctoc) library).\r\n\r\nThe swagger specification document is a bit unwieldy as a reference point because:\r\n\r\n- It has no ToC to provide a high-level context of what is contained in the specification, and\r\n- The styles used on http://swagger.io/specification/ visually deemphasize h4 elements; h5 elements are more pronounced. This makes the hierarchy difficult to navigate.\r\n\r\nThis change doesn't address styling issues on swagger.io, but does allow generation the specification document with a ToC.","created_at":"2015-09-17T19:30:54Z","updated_at":"2016-05-20T14:44:59Z","closed_at":"2016-05-20T14:44:58Z","merged_at":null,"merge_commit_sha":"e46f7a47459f9cffe87d70a94d985de1b9f319ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/pulls/464/commits","review_comments_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/pulls/464/comments","review_comment_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/464/comments","statuses_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/statuses/1ae2df83f1be16fb1d3f4b33850efcfd517b8e80","head":{"label":"scottydawg:table-of-contents","ref":"table-of-contents","sha":"1ae2df83f1be16fb1d3f4b33850efcfd517b8e80","user":{"login":"scottydawg","id":923236,"avatar_url":"https://avatars.githubusercontent.com/u/923236?v=3","gravatar_id":"","url":"https://api.github.com/users/scottydawg","html_url":"https://github.com/scottydawg","followers_url":"https://api.github.com/users/scottydawg/followers","following_url":"https://api.github.com/users/scottydawg/following{/other_user}","gists_url":"https://api.github.com/users/scottydawg/gists{/gist_id}","starred_url":"https://api.github.com/users/scottydawg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottydawg/subscriptions","organizations_url":"https://api.github.com/users/scottydawg/orgs","repos_url":"https://api.github.com/users/scottydawg/repos","events_url":"https://api.github.com/users/scottydawg/events{/privacy}","received_events_url":"https://api.github.com/users/scottydawg/received_events","type":"User","site_admin":false},"repo":{"id":42676901,"name":"swagger-spec","full_name":"scottydawg/swagger-spec","owner":{"login":"scottydawg","id":923236,"avatar_url":"https://avatars.githubusercontent.com/u/923236?v=3","gravatar_id":"","url":"https://api.github.com/users/scottydawg","html_url":"https://github.com/scottydawg","followers_url":"https://api.github.com/users/scottydawg/followers","following_url":"https://api.github.com/users/scottydawg/following{/other_user}","gists_url":"https://api.github.com/users/scottydawg/gists{/gist_id}","starred_url":"https://api.github.com/users/scottydawg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottydawg/subscriptions","organizations_url":"https://api.github.com/users/scottydawg/orgs","repos_url":"https://api.github.com/users/scottydawg/repos","events_url":"https://api.github.com/users/scottydawg/events{/privacy}","received_events_url":"https://api.github.com/users/scottydawg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scottydawg/swagger-spec","description":"The Swagger Specification Repository","fork":true,"url":"https://api.github.com/repos/scottydawg/swagger-spec","forks_url":"https://api.github.com/repos/scottydawg/swagger-spec/forks","keys_url":"https://api.github.com/repos/scottydawg/swagger-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scottydawg/swagger-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scottydawg/swagger-spec/teams","hooks_url":"https://api.github.com/repos/scottydawg/swagger-spec/hooks","issue_events_url":"https://api.github.com/repos/scottydawg/swagger-spec/issues/events{/number}","events_url":"https://api.github.com/repos/scottydawg/swagger-spec/events","assignees_url":"https://api.github.com/repos/scottydawg/swagger-spec/assignees{/user}","branches_url":"https://api.github.com/repos/scottydawg/swagger-spec/branches{/branch}","tags_url":"https://api.github.com/repos/scottydawg/swagger-spec/tags","blobs_url":"https://api.github.com/repos/scottydawg/swagger-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scottydawg/swagger-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scottydawg/swagger-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/scottydawg/swagger-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scottydawg/swagger-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/scottydawg/swagger-spec/languages","stargazers_url":"https://api.github.com/repos/scottydawg/swagger-spec/stargazers","contributors_url":"https://api.github.com/repos/scottydawg/swagger-spec/contributors","subscribers_url":"https://api.github.com/repos/scottydawg/swagger-spec/subscribers","subscription_url":"https://api.github.com/repos/scottydawg/swagger-spec/subscription","commits_url":"https://api.github.com/repos/scottydawg/swagger-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/scottydawg/swagger-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/scottydawg/swagger-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/scottydawg/swagger-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/scottydawg/swagger-spec/contents/{+path}","compare_url":"https://api.github.com/repos/scottydawg/swagger-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scottydawg/swagger-spec/merges","archive_url":"https://api.github.com/repos/scottydawg/swagger-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scottydawg/swagger-spec/downloads","issues_url":"https://api.github.com/repos/scottydawg/swagger-spec/issues{/number}","pulls_url":"https://api.github.com/repos/scottydawg/swagger-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/scottydawg/swagger-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/scottydawg/swagger-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scottydawg/swagger-spec/labels{/name}","releases_url":"https://api.github.com/repos/scottydawg/swagger-spec/releases{/id}","deployments_url":"https://api.github.com/repos/scottydawg/swagger-spec/deployments","created_at":"2015-09-17T19:24:15Z","updated_at":"2015-09-17T19:24:16Z","pushed_at":"2015-09-17T19:25:10Z","git_url":"git://github.com/scottydawg/swagger-spec.git","ssh_url":"git@github.com:scottydawg/swagger-spec.git","clone_url":"https://github.com/scottydawg/swagger-spec.git","svn_url":"https://github.com/scottydawg/swagger-spec","homepage":"http://swagger.io","size":926,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OAI:master","ref":"master","sha":"d79c205485d702302003d4de2f2c980d1caf10f9","user":{"login":"OAI","id":16343502,"avatar_url":"https://avatars.githubusercontent.com/u/16343502?v=3","gravatar_id":"","url":"https://api.github.com/users/OAI","html_url":"https://github.com/OAI","followers_url":"https://api.github.com/users/OAI/followers","following_url":"https://api.github.com/users/OAI/following{/other_user}","gists_url":"https://api.github.com/users/OAI/gists{/gist_id}","starred_url":"https://api.github.com/users/OAI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OAI/subscriptions","organizations_url":"https://api.github.com/users/OAI/orgs","repos_url":"https://api.github.com/users/OAI/repos","events_url":"https://api.github.com/users/OAI/events{/privacy}","received_events_url":"https://api.github.com/users/OAI/received_events","type":"Organization","site_admin":false},"repo":{"id":17372733,"name":"OpenAPI-Specification","full_name":"OAI/OpenAPI-Specification","owner":{"login":"OAI","id":16343502,"avatar_url":"https://avatars.githubusercontent.com/u/16343502?v=3","gravatar_id":"","url":"https://api.github.com/users/OAI","html_url":"https://github.com/OAI","followers_url":"https://api.github.com/users/OAI/followers","following_url":"https://api.github.com/users/OAI/following{/other_user}","gists_url":"https://api.github.com/users/OAI/gists{/gist_id}","starred_url":"https://api.github.com/users/OAI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OAI/subscriptions","organizations_url":"https://api.github.com/users/OAI/orgs","repos_url":"https://api.github.com/users/OAI/repos","events_url":"https://api.github.com/users/OAI/events{/privacy}","received_events_url":"https://api.github.com/users/OAI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OAI/OpenAPI-Specification","description":"The OpenAPI Specification Repository","fork":false,"url":"https://api.github.com/repos/OAI/OpenAPI-Specification","forks_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/forks","keys_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/teams","hooks_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/hooks","issue_events_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/events{/number}","events_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/events","assignees_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/assignees{/user}","branches_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/branches{/branch}","tags_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/tags","blobs_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/git/refs{/sha}","trees_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/statuses/{sha}","languages_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/languages","stargazers_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/stargazers","contributors_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/contributors","subscribers_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/subscribers","subscription_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/subscription","commits_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/commits{/sha}","git_commits_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/git/commits{/sha}","comments_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/comments{/number}","issue_comment_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/comments{/number}","contents_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/contents/{+path}","compare_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/merges","archive_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/downloads","issues_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues{/number}","pulls_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/pulls{/number}","milestones_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/milestones{/number}","notifications_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/labels{/name}","releases_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/releases{/id}","deployments_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/deployments","created_at":"2014-03-03T16:53:36Z","updated_at":"2016-05-20T07:19:35Z","pushed_at":"2016-05-20T14:42:38Z","git_url":"git://github.com/OAI/OpenAPI-Specification.git","ssh_url":"git@github.com:OAI/OpenAPI-Specification.git","clone_url":"https://github.com/OAI/OpenAPI-Specification.git","svn_url":"https://github.com/OAI/OpenAPI-Specification","homepage":"https://openapis.org","size":1464,"stargazers_count":3690,"watchers_count":3690,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1108,"mirror_url":null,"open_issues_count":227,"forks":1108,"open_issues":227,"watchers":3690,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OAI/OpenAPI-Specification/pulls/464"},"html":{"href":"https://github.com/OAI/OpenAPI-Specification/pull/464"},"issue":{"href":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/464"},"comments":{"href":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/464/comments"},"review_comments":{"href":"https://api.github.com/repos/OAI/OpenAPI-Specification/pulls/464/comments"},"review_comment":{"href":"https://api.github.com/repos/OAI/OpenAPI-Specification/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OAI/OpenAPI-Specification/pulls/464/commits"},"statuses":{"href":"https://api.github.com/repos/OAI/OpenAPI-Specification/statuses/1ae2df83f1be16fb1d3f4b33850efcfd517b8e80"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":3532,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"webron"}}