{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/pulls/1","id":55615685,"html_url":"https://github.com/swamikevala/json-schema-docs-generator/pull/1","diff_url":"https://github.com/swamikevala/json-schema-docs-generator/pull/1.diff","patch_url":"https://github.com/swamikevala/json-schema-docs-generator/pull/1.patch","issue_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/issues/1","number":1,"state":"open","locked":false,"title":"Update object-definition.js","user":{"login":"swamikevala","id":8373058,"avatar_url":"https://avatars.githubusercontent.com/u/8373058?v=3","gravatar_id":"","url":"https://api.github.com/users/swamikevala","html_url":"https://github.com/swamikevala","followers_url":"https://api.github.com/users/swamikevala/followers","following_url":"https://api.github.com/users/swamikevala/following{/other_user}","gists_url":"https://api.github.com/users/swamikevala/gists{/gist_id}","starred_url":"https://api.github.com/users/swamikevala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swamikevala/subscriptions","organizations_url":"https://api.github.com/users/swamikevala/orgs","repos_url":"https://api.github.com/users/swamikevala/repos","events_url":"https://api.github.com/users/swamikevala/events{/privacy}","received_events_url":"https://api.github.com/users/swamikevala/received_events","type":"User","site_admin":false},"body":"removes empty object properties at the end of objectDefinition build method\r\n\r\nIf I don't have any optional properties, the parameters.optionalProps in the endpoint.handlebars template file is an empty object. So {{#if parameters.optionalProps}} will still be true, and output the heading","created_at":"2016-01-11T12:19:35Z","updated_at":"2016-01-11T12:19:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/pulls/1/commits","review_comments_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/pulls/1/comments","review_comment_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/issues/1/comments","statuses_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/statuses/052dbf83e16db79916d5993ce08277c58bb387b9","head":{"label":"swamikevala:swamikevala-patch-1","ref":"swamikevala-patch-1","sha":"052dbf83e16db79916d5993ce08277c58bb387b9","user":{"login":"swamikevala","id":8373058,"avatar_url":"https://avatars.githubusercontent.com/u/8373058?v=3","gravatar_id":"","url":"https://api.github.com/users/swamikevala","html_url":"https://github.com/swamikevala","followers_url":"https://api.github.com/users/swamikevala/followers","following_url":"https://api.github.com/users/swamikevala/following{/other_user}","gists_url":"https://api.github.com/users/swamikevala/gists{/gist_id}","starred_url":"https://api.github.com/users/swamikevala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swamikevala/subscriptions","organizations_url":"https://api.github.com/users/swamikevala/orgs","repos_url":"https://api.github.com/users/swamikevala/repos","events_url":"https://api.github.com/users/swamikevala/events{/privacy}","received_events_url":"https://api.github.com/users/swamikevala/received_events","type":"User","site_admin":false},"repo":{"id":49424124,"name":"json-schema-docs-generator","full_name":"swamikevala/json-schema-docs-generator","owner":{"login":"swamikevala","id":8373058,"avatar_url":"https://avatars.githubusercontent.com/u/8373058?v=3","gravatar_id":"","url":"https://api.github.com/users/swamikevala","html_url":"https://github.com/swamikevala","followers_url":"https://api.github.com/users/swamikevala/followers","following_url":"https://api.github.com/users/swamikevala/following{/other_user}","gists_url":"https://api.github.com/users/swamikevala/gists{/gist_id}","starred_url":"https://api.github.com/users/swamikevala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swamikevala/subscriptions","organizations_url":"https://api.github.com/users/swamikevala/orgs","repos_url":"https://api.github.com/users/swamikevala/repos","events_url":"https://api.github.com/users/swamikevala/events{/privacy}","received_events_url":"https://api.github.com/users/swamikevala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swamikevala/json-schema-docs-generator","description":"A flexible solution for auto-generating HTML API documentation from JSON-schemas that take advantage of the v4 Hyper-Schema definition","fork":true,"url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator","forks_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/forks","keys_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/teams","hooks_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/hooks","issue_events_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/issues/events{/number}","events_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/events","assignees_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/assignees{/user}","branches_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/branches{/branch}","tags_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/tags","blobs_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/git/refs{/sha}","trees_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/statuses/{sha}","languages_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/languages","stargazers_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/stargazers","contributors_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/contributors","subscribers_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/subscribers","subscription_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/subscription","commits_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/commits{/sha}","git_commits_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/git/commits{/sha}","comments_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/comments{/number}","issue_comment_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/issues/comments{/number}","contents_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/contents/{+path}","compare_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/merges","archive_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/downloads","issues_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/issues{/number}","pulls_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/pulls{/number}","milestones_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/milestones{/number}","notifications_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/labels{/name}","releases_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/releases{/id}","created_at":"2016-01-11T12:10:59Z","updated_at":"2016-01-11T12:11:00Z","pushed_at":"2016-01-11T12:19:35Z","git_url":"git://github.com/swamikevala/json-schema-docs-generator.git","ssh_url":"git@github.com:swamikevala/json-schema-docs-generator.git","clone_url":"https://github.com/swamikevala/json-schema-docs-generator.git","svn_url":"https://github.com/swamikevala/json-schema-docs-generator","homepage":null,"size":102,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"swamikevala:master","ref":"master","sha":"ea65f42e7b1e80afc5de2a93bee7d8ce3137316d","user":{"login":"swamikevala","id":8373058,"avatar_url":"https://avatars.githubusercontent.com/u/8373058?v=3","gravatar_id":"","url":"https://api.github.com/users/swamikevala","html_url":"https://github.com/swamikevala","followers_url":"https://api.github.com/users/swamikevala/followers","following_url":"https://api.github.com/users/swamikevala/following{/other_user}","gists_url":"https://api.github.com/users/swamikevala/gists{/gist_id}","starred_url":"https://api.github.com/users/swamikevala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swamikevala/subscriptions","organizations_url":"https://api.github.com/users/swamikevala/orgs","repos_url":"https://api.github.com/users/swamikevala/repos","events_url":"https://api.github.com/users/swamikevala/events{/privacy}","received_events_url":"https://api.github.com/users/swamikevala/received_events","type":"User","site_admin":false},"repo":{"id":49424124,"name":"json-schema-docs-generator","full_name":"swamikevala/json-schema-docs-generator","owner":{"login":"swamikevala","id":8373058,"avatar_url":"https://avatars.githubusercontent.com/u/8373058?v=3","gravatar_id":"","url":"https://api.github.com/users/swamikevala","html_url":"https://github.com/swamikevala","followers_url":"https://api.github.com/users/swamikevala/followers","following_url":"https://api.github.com/users/swamikevala/following{/other_user}","gists_url":"https://api.github.com/users/swamikevala/gists{/gist_id}","starred_url":"https://api.github.com/users/swamikevala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swamikevala/subscriptions","organizations_url":"https://api.github.com/users/swamikevala/orgs","repos_url":"https://api.github.com/users/swamikevala/repos","events_url":"https://api.github.com/users/swamikevala/events{/privacy}","received_events_url":"https://api.github.com/users/swamikevala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swamikevala/json-schema-docs-generator","description":"A flexible solution for auto-generating HTML API documentation from JSON-schemas that take advantage of the v4 Hyper-Schema definition","fork":true,"url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator","forks_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/forks","keys_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/teams","hooks_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/hooks","issue_events_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/issues/events{/number}","events_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/events","assignees_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/assignees{/user}","branches_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/branches{/branch}","tags_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/tags","blobs_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/git/refs{/sha}","trees_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/statuses/{sha}","languages_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/languages","stargazers_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/stargazers","contributors_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/contributors","subscribers_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/subscribers","subscription_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/subscription","commits_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/commits{/sha}","git_commits_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/git/commits{/sha}","comments_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/comments{/number}","issue_comment_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/issues/comments{/number}","contents_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/contents/{+path}","compare_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/merges","archive_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/downloads","issues_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/issues{/number}","pulls_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/pulls{/number}","milestones_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/milestones{/number}","notifications_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/labels{/name}","releases_url":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/releases{/id}","created_at":"2016-01-11T12:10:59Z","updated_at":"2016-01-11T12:11:00Z","pushed_at":"2016-01-11T12:19:35Z","git_url":"git://github.com/swamikevala/json-schema-docs-generator.git","ssh_url":"git@github.com:swamikevala/json-schema-docs-generator.git","clone_url":"https://github.com/swamikevala/json-schema-docs-generator.git","svn_url":"https://github.com/swamikevala/json-schema-docs-generator","homepage":null,"size":102,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/pulls/1"},"html":{"href":"https://github.com/swamikevala/json-schema-docs-generator/pull/1"},"issue":{"href":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/issues/1"},"comments":{"href":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/swamikevala/json-schema-docs-generator/statuses/052dbf83e16db79916d5993ce08277c58bb387b9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":0,"changed_files":1}}