{"action":"created","comment":{"url":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/comments/33465208","id":33465208,"diff_hunk":"@@ -0,0 +1,70 @@\n+<?php\n+/**\n+ * @link http://www.yiiframework.com/\n+ * @copyright Copyright (c) 2008 Yii Software LLC\n+ * @license http://www.yiiframework.com/license/\n+ */\n+\n+namespace yii\\apidoc\\templates\\json;\n+\n+use yii\\apidoc\\models\\Context;\n+use yii\\apidoc\\renderers\\ApiRenderer as BaseApiRenderer;\n+use yii\\base\\ViewContextInterface;\n+use Yii;\n+\n+/**\n+ * The class for outputting documentation data structures as a JSON text.\n+ *\n+ * @author Carsten Brandt <mail@cebe.cc>","path":"templates/json/ApiRenderer.php","position":18,"original_position":18,"commit_id":"ea39297d4fae2631cf8ddf0a031c7297b807de9a","original_commit_id":"ea39297d4fae2631cf8ddf0a031c7297b807de9a","user":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"body":"that's not true :)","created_at":"2015-06-29T13:51:43Z","updated_at":"2015-06-29T13:51:43Z","html_url":"https://github.com/yiisoft/yii2-apidoc/pull/13#discussion_r33465208","pull_request_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/comments/33465208"},"html":{"href":"https://github.com/yiisoft/yii2-apidoc/pull/13#discussion_r33465208"},"pull_request":{"href":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/13","id":38689448,"html_url":"https://github.com/yiisoft/yii2-apidoc/pull/13","diff_url":"https://github.com/yiisoft/yii2-apidoc/pull/13.diff","patch_url":"https://github.com/yiisoft/yii2-apidoc/pull/13.patch","issue_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/13","number":13,"state":"open","locked":false,"title":"json and external templates","user":{"login":"tom--","id":1178722,"avatar_url":"https://avatars.githubusercontent.com/u/1178722?v=3","gravatar_id":"","url":"https://api.github.com/users/tom--","html_url":"https://github.com/tom--","followers_url":"https://api.github.com/users/tom--/followers","following_url":"https://api.github.com/users/tom--/following{/other_user}","gists_url":"https://api.github.com/users/tom--/gists{/gist_id}","starred_url":"https://api.github.com/users/tom--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom--/subscriptions","organizations_url":"https://api.github.com/users/tom--/orgs","repos_url":"https://api.github.com/users/tom--/repos","events_url":"https://api.github.com/users/tom--/events{/privacy}","received_events_url":"https://api.github.com/users/tom--/received_events","type":"User","site_admin":false},"body":"One change dumps the info from docblocks to JSON.\r\n\r\nThe other allows templates to be outside the extension's root.","created_at":"2015-06-26T21:06:27Z","updated_at":"2015-06-29T13:51:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fbd6e5409a8fbf72e03ce9d5f2907387a2ddd41","assignee":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/13/commits","review_comments_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/13/comments","review_comment_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/13/comments","statuses_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/statuses/ea39297d4fae2631cf8ddf0a031c7297b807de9a","head":{"label":"tom--:master","ref":"master","sha":"ea39297d4fae2631cf8ddf0a031c7297b807de9a","user":{"login":"tom--","id":1178722,"avatar_url":"https://avatars.githubusercontent.com/u/1178722?v=3","gravatar_id":"","url":"https://api.github.com/users/tom--","html_url":"https://github.com/tom--","followers_url":"https://api.github.com/users/tom--/followers","following_url":"https://api.github.com/users/tom--/following{/other_user}","gists_url":"https://api.github.com/users/tom--/gists{/gist_id}","starred_url":"https://api.github.com/users/tom--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom--/subscriptions","organizations_url":"https://api.github.com/users/tom--/orgs","repos_url":"https://api.github.com/users/tom--/repos","events_url":"https://api.github.com/users/tom--/events{/privacy}","received_events_url":"https://api.github.com/users/tom--/received_events","type":"User","site_admin":false},"repo":{"id":33364841,"name":"yii2-apidoc","full_name":"tom--/yii2-apidoc","owner":{"login":"tom--","id":1178722,"avatar_url":"https://avatars.githubusercontent.com/u/1178722?v=3","gravatar_id":"","url":"https://api.github.com/users/tom--","html_url":"https://github.com/tom--","followers_url":"https://api.github.com/users/tom--/followers","following_url":"https://api.github.com/users/tom--/following{/other_user}","gists_url":"https://api.github.com/users/tom--/gists{/gist_id}","starred_url":"https://api.github.com/users/tom--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom--/subscriptions","organizations_url":"https://api.github.com/users/tom--/orgs","repos_url":"https://api.github.com/users/tom--/repos","events_url":"https://api.github.com/users/tom--/events{/privacy}","received_events_url":"https://api.github.com/users/tom--/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tom--/yii2-apidoc","description":"Yii 2 apidoc extension.","fork":true,"url":"https://api.github.com/repos/tom--/yii2-apidoc","forks_url":"https://api.github.com/repos/tom--/yii2-apidoc/forks","keys_url":"https://api.github.com/repos/tom--/yii2-apidoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tom--/yii2-apidoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tom--/yii2-apidoc/teams","hooks_url":"https://api.github.com/repos/tom--/yii2-apidoc/hooks","issue_events_url":"https://api.github.com/repos/tom--/yii2-apidoc/issues/events{/number}","events_url":"https://api.github.com/repos/tom--/yii2-apidoc/events","assignees_url":"https://api.github.com/repos/tom--/yii2-apidoc/assignees{/user}","branches_url":"https://api.github.com/repos/tom--/yii2-apidoc/branches{/branch}","tags_url":"https://api.github.com/repos/tom--/yii2-apidoc/tags","blobs_url":"https://api.github.com/repos/tom--/yii2-apidoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tom--/yii2-apidoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tom--/yii2-apidoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/tom--/yii2-apidoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tom--/yii2-apidoc/statuses/{sha}","languages_url":"https://api.github.com/repos/tom--/yii2-apidoc/languages","stargazers_url":"https://api.github.com/repos/tom--/yii2-apidoc/stargazers","contributors_url":"https://api.github.com/repos/tom--/yii2-apidoc/contributors","subscribers_url":"https://api.github.com/repos/tom--/yii2-apidoc/subscribers","subscription_url":"https://api.github.com/repos/tom--/yii2-apidoc/subscription","commits_url":"https://api.github.com/repos/tom--/yii2-apidoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/tom--/yii2-apidoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/tom--/yii2-apidoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/tom--/yii2-apidoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/tom--/yii2-apidoc/contents/{+path}","compare_url":"https://api.github.com/repos/tom--/yii2-apidoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tom--/yii2-apidoc/merges","archive_url":"https://api.github.com/repos/tom--/yii2-apidoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tom--/yii2-apidoc/downloads","issues_url":"https://api.github.com/repos/tom--/yii2-apidoc/issues{/number}","pulls_url":"https://api.github.com/repos/tom--/yii2-apidoc/pulls{/number}","milestones_url":"https://api.github.com/repos/tom--/yii2-apidoc/milestones{/number}","notifications_url":"https://api.github.com/repos/tom--/yii2-apidoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tom--/yii2-apidoc/labels{/name}","releases_url":"https://api.github.com/repos/tom--/yii2-apidoc/releases{/id}","created_at":"2015-04-03T13:40:18Z","updated_at":"2015-04-03T13:40:18Z","pushed_at":"2015-06-26T20:09:02Z","git_url":"git://github.com/tom--/yii2-apidoc.git","ssh_url":"git@github.com:tom--/yii2-apidoc.git","clone_url":"https://github.com/tom--/yii2-apidoc.git","svn_url":"https://github.com/tom--/yii2-apidoc","homepage":"http://www.yiiframework.com","size":424,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"yiisoft:master","ref":"master","sha":"85678e85ee6c5ff9dcb00b5245c800043b68731c","user":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"repo":{"id":15665754,"name":"yii2-apidoc","full_name":"yiisoft/yii2-apidoc","owner":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yiisoft/yii2-apidoc","description":"Yii 2 apidoc extension.","fork":false,"url":"https://api.github.com/repos/yiisoft/yii2-apidoc","forks_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/forks","keys_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/teams","hooks_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/hooks","issue_events_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/events{/number}","events_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/events","assignees_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/assignees{/user}","branches_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/branches{/branch}","tags_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/tags","blobs_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/statuses/{sha}","languages_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/languages","stargazers_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/stargazers","contributors_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/contributors","subscribers_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/subscribers","subscription_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/subscription","commits_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/contents/{+path}","compare_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/merges","archive_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/downloads","issues_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues{/number}","pulls_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls{/number}","milestones_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/milestones{/number}","notifications_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/labels{/name}","releases_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/releases{/id}","created_at":"2014-01-06T05:04:01Z","updated_at":"2015-06-25T12:14:46Z","pushed_at":"2015-06-26T21:06:28Z","git_url":"git://github.com/yiisoft/yii2-apidoc.git","ssh_url":"git@github.com:yiisoft/yii2-apidoc.git","clone_url":"https://github.com/yiisoft/yii2-apidoc.git","svn_url":"https://github.com/yiisoft/yii2-apidoc","homepage":"http://www.yiiframework.com","size":1216,"stargazers_count":28,"watchers_count":28,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":6,"forks":21,"open_issues":6,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/13"},"html":{"href":"https://github.com/yiisoft/yii2-apidoc/pull/13"},"issue":{"href":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/13"},"comments":{"href":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yiisoft/yii2-apidoc/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/yiisoft/yii2-apidoc/statuses/ea39297d4fae2631cf8ddf0a031c7297b807de9a"}}}}