{"action":"created","comment":{"url":"https://api.github.com/repos/stoplightio/spectral/pulls/comments/302053815","pull_request_review_id":260078256,"id":302053815,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwMjA1MzgxNQ==","diff_hunk":"@@ -8,7 +8,7 @@ This example uses the OpenAPI v3 rules to lint a document.\n \n ```js\n const { Spectral } = require('@stoplight/spectral');\n-const { oas3Functions, rules: oas3Rules } = require('@stoplight/spectral/rulesets/oas3');\n+const { oas3Functions, rules: oas3Rules } = require('@stoplight/spectral/dist/rulesets/oas3');","path":"docs/js-api.md","position":5,"original_position":5,"commit_id":"f5facc2cc9fdf8de749da44a77bf16531c55d037","original_commit_id":"f5facc2cc9fdf8de749da44a77bf16531c55d037","user":{"login":"P0lip","id":9273484,"node_id":"MDQ6VXNlcjkyNzM0ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9273484?v=4","gravatar_id":"","url":"https://api.github.com/users/P0lip","html_url":"https://github.com/P0lip","followers_url":"https://api.github.com/users/P0lip/followers","following_url":"https://api.github.com/users/P0lip/following{/other_user}","gists_url":"https://api.github.com/users/P0lip/gists{/gist_id}","starred_url":"https://api.github.com/users/P0lip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P0lip/subscriptions","organizations_url":"https://api.github.com/users/P0lip/orgs","repos_url":"https://api.github.com/users/P0lip/repos","events_url":"https://api.github.com/users/P0lip/events{/privacy}","received_events_url":"https://api.github.com/users/P0lip/received_events","type":"User","site_admin":false},"body":"Only the JSON files.","created_at":"2019-07-10T13:05:51Z","updated_at":"2019-07-10T13:05:52Z","html_url":"https://github.com/stoplightio/spectral/pull/358#discussion_r302053815","pull_request_url":"https://api.github.com/repos/stoplightio/spectral/pulls/358","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/stoplightio/spectral/pulls/comments/302053815"},"html":{"href":"https://github.com/stoplightio/spectral/pull/358#discussion_r302053815"},"pull_request":{"href":"https://api.github.com/repos/stoplightio/spectral/pulls/358"}},"in_reply_to_id":302053601},"pull_request":{"url":"https://api.github.com/repos/stoplightio/spectral/pulls/358","id":296158212,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk2MTU4MjEy","html_url":"https://github.com/stoplightio/spectral/pull/358","diff_url":"https://github.com/stoplightio/spectral/pull/358.diff","patch_url":"https://github.com/stoplightio/spectral/pull/358.patch","issue_url":"https://api.github.com/repos/stoplightio/spectral/issues/358","number":358,"state":"open","locked":false,"title":"docs(js-api): update rulesets import","user":{"login":"P0lip","id":9273484,"node_id":"MDQ6VXNlcjkyNzM0ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9273484?v=4","gravatar_id":"","url":"https://api.github.com/users/P0lip","html_url":"https://github.com/P0lip","followers_url":"https://api.github.com/users/P0lip/followers","following_url":"https://api.github.com/users/P0lip/following{/other_user}","gists_url":"https://api.github.com/users/P0lip/gists{/gist_id}","starred_url":"https://api.github.com/users/P0lip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P0lip/subscriptions","organizations_url":"https://api.github.com/users/P0lip/orgs","repos_url":"https://api.github.com/users/P0lip/repos","events_url":"https://api.github.com/users/P0lip/events{/privacy}","received_events_url":"https://api.github.com/users/P0lip/received_events","type":"User","site_admin":false},"body":"\r\n**Checklist**\r\n\r\n- [ ] Tests added / updated\r\n- [x] Docs added / updated\r\n\r\n**Does this PR introduce a breaking change?**\r\n\r\n- [ ] Yes\r\n- [x] No\r\n","created_at":"2019-07-10T12:48:50Z","updated_at":"2019-07-10T13:05:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"850aa40a6df648b321b2478f6945f29d9735062d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"marbemac","id":847542,"node_id":"MDQ6VXNlcjg0NzU0Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/847542?v=4","gravatar_id":"","url":"https://api.github.com/users/marbemac","html_url":"https://github.com/marbemac","followers_url":"https://api.github.com/users/marbemac/followers","following_url":"https://api.github.com/users/marbemac/following{/other_user}","gists_url":"https://api.github.com/users/marbemac/gists{/gist_id}","starred_url":"https://api.github.com/users/marbemac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbemac/subscriptions","organizations_url":"https://api.github.com/users/marbemac/orgs","repos_url":"https://api.github.com/users/marbemac/repos","events_url":"https://api.github.com/users/marbemac/events{/privacy}","received_events_url":"https://api.github.com/users/marbemac/received_events","type":"User","site_admin":false},{"login":"tbarn","id":2008034,"node_id":"MDQ6VXNlcjIwMDgwMzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2008034?v=4","gravatar_id":"","url":"https://api.github.com/users/tbarn","html_url":"https://github.com/tbarn","followers_url":"https://api.github.com/users/tbarn/followers","following_url":"https://api.github.com/users/tbarn/following{/other_user}","gists_url":"https://api.github.com/users/tbarn/gists{/gist_id}","starred_url":"https://api.github.com/users/tbarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbarn/subscriptions","organizations_url":"https://api.github.com/users/tbarn/orgs","repos_url":"https://api.github.com/users/tbarn/repos","events_url":"https://api.github.com/users/tbarn/events{/privacy}","received_events_url":"https://api.github.com/users/tbarn/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/stoplightio/spectral/pulls/358/commits","review_comments_url":"https://api.github.com/repos/stoplightio/spectral/pulls/358/comments","review_comment_url":"https://api.github.com/repos/stoplightio/spectral/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stoplightio/spectral/issues/358/comments","statuses_url":"https://api.github.com/repos/stoplightio/spectral/statuses/f5facc2cc9fdf8de749da44a77bf16531c55d037","head":{"label":"stoplightio:P0lip-patch-1","ref":"P0lip-patch-1","sha":"f5facc2cc9fdf8de749da44a77bf16531c55d037","user":{"login":"stoplightio","id":10767217,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNzY3MjE3","avatar_url":"https://avatars1.githubusercontent.com/u/10767217?v=4","gravatar_id":"","url":"https://api.github.com/users/stoplightio","html_url":"https://github.com/stoplightio","followers_url":"https://api.github.com/users/stoplightio/followers","following_url":"https://api.github.com/users/stoplightio/following{/other_user}","gists_url":"https://api.github.com/users/stoplightio/gists{/gist_id}","starred_url":"https://api.github.com/users/stoplightio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoplightio/subscriptions","organizations_url":"https://api.github.com/users/stoplightio/orgs","repos_url":"https://api.github.com/users/stoplightio/repos","events_url":"https://api.github.com/users/stoplightio/events{/privacy}","received_events_url":"https://api.github.com/users/stoplightio/received_events","type":"Organization","site_admin":false},"repo":{"id":144890632,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ4OTA2MzI=","name":"spectral","full_name":"stoplightio/spectral","private":false,"owner":{"login":"stoplightio","id":10767217,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNzY3MjE3","avatar_url":"https://avatars1.githubusercontent.com/u/10767217?v=4","gravatar_id":"","url":"https://api.github.com/users/stoplightio","html_url":"https://github.com/stoplightio","followers_url":"https://api.github.com/users/stoplightio/followers","following_url":"https://api.github.com/users/stoplightio/following{/other_user}","gists_url":"https://api.github.com/users/stoplightio/gists{/gist_id}","starred_url":"https://api.github.com/users/stoplightio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoplightio/subscriptions","organizations_url":"https://api.github.com/users/stoplightio/orgs","repos_url":"https://api.github.com/users/stoplightio/repos","events_url":"https://api.github.com/users/stoplightio/events{/privacy}","received_events_url":"https://api.github.com/users/stoplightio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/stoplightio/spectral","description":"A flexible JSON linter with out of the box support for OpenAPI v2 and v3","fork":false,"url":"https://api.github.com/repos/stoplightio/spectral","forks_url":"https://api.github.com/repos/stoplightio/spectral/forks","keys_url":"https://api.github.com/repos/stoplightio/spectral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stoplightio/spectral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stoplightio/spectral/teams","hooks_url":"https://api.github.com/repos/stoplightio/spectral/hooks","issue_events_url":"https://api.github.com/repos/stoplightio/spectral/issues/events{/number}","events_url":"https://api.github.com/repos/stoplightio/spectral/events","assignees_url":"https://api.github.com/repos/stoplightio/spectral/assignees{/user}","branches_url":"https://api.github.com/repos/stoplightio/spectral/branches{/branch}","tags_url":"https://api.github.com/repos/stoplightio/spectral/tags","blobs_url":"https://api.github.com/repos/stoplightio/spectral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stoplightio/spectral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stoplightio/spectral/git/refs{/sha}","trees_url":"https://api.github.com/repos/stoplightio/spectral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stoplightio/spectral/statuses/{sha}","languages_url":"https://api.github.com/repos/stoplightio/spectral/languages","stargazers_url":"https://api.github.com/repos/stoplightio/spectral/stargazers","contributors_url":"https://api.github.com/repos/stoplightio/spectral/contributors","subscribers_url":"https://api.github.com/repos/stoplightio/spectral/subscribers","subscription_url":"https://api.github.com/repos/stoplightio/spectral/subscription","commits_url":"https://api.github.com/repos/stoplightio/spectral/commits{/sha}","git_commits_url":"https://api.github.com/repos/stoplightio/spectral/git/commits{/sha}","comments_url":"https://api.github.com/repos/stoplightio/spectral/comments{/number}","issue_comment_url":"https://api.github.com/repos/stoplightio/spectral/issues/comments{/number}","contents_url":"https://api.github.com/repos/stoplightio/spectral/contents/{+path}","compare_url":"https://api.github.com/repos/stoplightio/spectral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stoplightio/spectral/merges","archive_url":"https://api.github.com/repos/stoplightio/spectral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stoplightio/spectral/downloads","issues_url":"https://api.github.com/repos/stoplightio/spectral/issues{/number}","pulls_url":"https://api.github.com/repos/stoplightio/spectral/pulls{/number}","milestones_url":"https://api.github.com/repos/stoplightio/spectral/milestones{/number}","notifications_url":"https://api.github.com/repos/stoplightio/spectral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stoplightio/spectral/labels{/name}","releases_url":"https://api.github.com/repos/stoplightio/spectral/releases{/id}","deployments_url":"https://api.github.com/repos/stoplightio/spectral/deployments","created_at":"2018-08-15T18:43:18Z","updated_at":"2019-07-10T02:16:20Z","pushed_at":"2019-07-10T12:48:51Z","git_url":"git://github.com/stoplightio/spectral.git","ssh_url":"git@github.com:stoplightio/spectral.git","clone_url":"https://github.com/stoplightio/spectral.git","svn_url":"https://github.com/stoplightio/spectral","homepage":"https://stoplight.io/blog/introducing-spectral/","size":2441,"stargazers_count":139,"watchers_count":139,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":33,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":13,"open_issues":33,"watchers":139,"default_branch":"develop"}},"base":{"label":"stoplightio:master","ref":"master","sha":"ff1eefd97adc05dd03c2432349de15ec5f7e42a8","user":{"login":"stoplightio","id":10767217,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNzY3MjE3","avatar_url":"https://avatars1.githubusercontent.com/u/10767217?v=4","gravatar_id":"","url":"https://api.github.com/users/stoplightio","html_url":"https://github.com/stoplightio","followers_url":"https://api.github.com/users/stoplightio/followers","following_url":"https://api.github.com/users/stoplightio/following{/other_user}","gists_url":"https://api.github.com/users/stoplightio/gists{/gist_id}","starred_url":"https://api.github.com/users/stoplightio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoplightio/subscriptions","organizations_url":"https://api.github.com/users/stoplightio/orgs","repos_url":"https://api.github.com/users/stoplightio/repos","events_url":"https://api.github.com/users/stoplightio/events{/privacy}","received_events_url":"https://api.github.com/users/stoplightio/received_events","type":"Organization","site_admin":false},"repo":{"id":144890632,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ4OTA2MzI=","name":"spectral","full_name":"stoplightio/spectral","private":false,"owner":{"login":"stoplightio","id":10767217,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNzY3MjE3","avatar_url":"https://avatars1.githubusercontent.com/u/10767217?v=4","gravatar_id":"","url":"https://api.github.com/users/stoplightio","html_url":"https://github.com/stoplightio","followers_url":"https://api.github.com/users/stoplightio/followers","following_url":"https://api.github.com/users/stoplightio/following{/other_user}","gists_url":"https://api.github.com/users/stoplightio/gists{/gist_id}","starred_url":"https://api.github.com/users/stoplightio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoplightio/subscriptions","organizations_url":"https://api.github.com/users/stoplightio/orgs","repos_url":"https://api.github.com/users/stoplightio/repos","events_url":"https://api.github.com/users/stoplightio/events{/privacy}","received_events_url":"https://api.github.com/users/stoplightio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/stoplightio/spectral","description":"A flexible JSON linter with out of the box support for OpenAPI v2 and v3","fork":false,"url":"https://api.github.com/repos/stoplightio/spectral","forks_url":"https://api.github.com/repos/stoplightio/spectral/forks","keys_url":"https://api.github.com/repos/stoplightio/spectral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stoplightio/spectral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stoplightio/spectral/teams","hooks_url":"https://api.github.com/repos/stoplightio/spectral/hooks","issue_events_url":"https://api.github.com/repos/stoplightio/spectral/issues/events{/number}","events_url":"https://api.github.com/repos/stoplightio/spectral/events","assignees_url":"https://api.github.com/repos/stoplightio/spectral/assignees{/user}","branches_url":"https://api.github.com/repos/stoplightio/spectral/branches{/branch}","tags_url":"https://api.github.com/repos/stoplightio/spectral/tags","blobs_url":"https://api.github.com/repos/stoplightio/spectral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stoplightio/spectral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stoplightio/spectral/git/refs{/sha}","trees_url":"https://api.github.com/repos/stoplightio/spectral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stoplightio/spectral/statuses/{sha}","languages_url":"https://api.github.com/repos/stoplightio/spectral/languages","stargazers_url":"https://api.github.com/repos/stoplightio/spectral/stargazers","contributors_url":"https://api.github.com/repos/stoplightio/spectral/contributors","subscribers_url":"https://api.github.com/repos/stoplightio/spectral/subscribers","subscription_url":"https://api.github.com/repos/stoplightio/spectral/subscription","commits_url":"https://api.github.com/repos/stoplightio/spectral/commits{/sha}","git_commits_url":"https://api.github.com/repos/stoplightio/spectral/git/commits{/sha}","comments_url":"https://api.github.com/repos/stoplightio/spectral/comments{/number}","issue_comment_url":"https://api.github.com/repos/stoplightio/spectral/issues/comments{/number}","contents_url":"https://api.github.com/repos/stoplightio/spectral/contents/{+path}","compare_url":"https://api.github.com/repos/stoplightio/spectral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stoplightio/spectral/merges","archive_url":"https://api.github.com/repos/stoplightio/spectral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stoplightio/spectral/downloads","issues_url":"https://api.github.com/repos/stoplightio/spectral/issues{/number}","pulls_url":"https://api.github.com/repos/stoplightio/spectral/pulls{/number}","milestones_url":"https://api.github.com/repos/stoplightio/spectral/milestones{/number}","notifications_url":"https://api.github.com/repos/stoplightio/spectral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stoplightio/spectral/labels{/name}","releases_url":"https://api.github.com/repos/stoplightio/spectral/releases{/id}","deployments_url":"https://api.github.com/repos/stoplightio/spectral/deployments","created_at":"2018-08-15T18:43:18Z","updated_at":"2019-07-10T02:16:20Z","pushed_at":"2019-07-10T12:48:51Z","git_url":"git://github.com/stoplightio/spectral.git","ssh_url":"git@github.com:stoplightio/spectral.git","clone_url":"https://github.com/stoplightio/spectral.git","svn_url":"https://github.com/stoplightio/spectral","homepage":"https://stoplight.io/blog/introducing-spectral/","size":2441,"stargazers_count":139,"watchers_count":139,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":33,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":13,"open_issues":33,"watchers":139,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/stoplightio/spectral/pulls/358"},"html":{"href":"https://github.com/stoplightio/spectral/pull/358"},"issue":{"href":"https://api.github.com/repos/stoplightio/spectral/issues/358"},"comments":{"href":"https://api.github.com/repos/stoplightio/spectral/issues/358/comments"},"review_comments":{"href":"https://api.github.com/repos/stoplightio/spectral/pulls/358/comments"},"review_comment":{"href":"https://api.github.com/repos/stoplightio/spectral/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stoplightio/spectral/pulls/358/commits"},"statuses":{"href":"https://api.github.com/repos/stoplightio/spectral/statuses/f5facc2cc9fdf8de749da44a77bf16531c55d037"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"P0lip"}}