{"action":"created","comment":{"url":"https://api.github.com/repos/stripe/stripe-mock/pulls/comments/204142405","pull_request_review_id":139177319,"id":204142405,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDE0MjQwNQ==","diff_hunk":"@@ -289,43 +287,24 @@ func getTLSCertificate() (tls.Certificate, error) {\n func getFixtures(fixturesPath string) (*spec.Fixtures, error) {\n \tvar data []byte\n \tvar err error\n-\tvar isYAML bool\n \n \tif fixturesPath == \"\" {\n \t\t// And do the same for fixtures\n \t\tdata, err = Asset(\"openapi/openapi/fixtures3.json\")\n \t} else {\n \t\tdata, err = ioutil.ReadFile(fixturesPath)\n-\n-\t\tif filepath.Ext(fixturesPath) == \".yaml\" {\n-\t\t\tisYAML = true\n-\t\t}","path":"main.go","position":null,"original_position":26,"commit_id":"16d55116515de599b1dfe4b82231de57917ffb5b","original_commit_id":"9e1e81a24105be51472fbb15e6dd2ff5574556f0","user":{"login":"brandur-stripe","id":23105990,"node_id":"MDQ6VXNlcjIzMTA1OTkw","avatar_url":"https://avatars3.githubusercontent.com/u/23105990?v=4","gravatar_id":"","url":"https://api.github.com/users/brandur-stripe","html_url":"https://github.com/brandur-stripe","followers_url":"https://api.github.com/users/brandur-stripe/followers","following_url":"https://api.github.com/users/brandur-stripe/following{/other_user}","gists_url":"https://api.github.com/users/brandur-stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/brandur-stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandur-stripe/subscriptions","organizations_url":"https://api.github.com/users/brandur-stripe/orgs","repos_url":"https://api.github.com/users/brandur-stripe/repos","events_url":"https://api.github.com/users/brandur-stripe/events{/privacy}","received_events_url":"https://api.github.com/users/brandur-stripe/received_events","type":"User","site_admin":false},"body":"Good call. Added an additional check in 16d5511.","created_at":"2018-07-20T19:06:58Z","updated_at":"2018-07-20T19:06:58Z","html_url":"https://github.com/stripe/stripe-mock/pull/86#discussion_r204142405","pull_request_url":"https://api.github.com/repos/stripe/stripe-mock/pulls/86","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/stripe/stripe-mock/pulls/comments/204142405"},"html":{"href":"https://github.com/stripe/stripe-mock/pull/86#discussion_r204142405"},"pull_request":{"href":"https://api.github.com/repos/stripe/stripe-mock/pulls/86"}},"in_reply_to_id":204140191},"pull_request":{"url":"https://api.github.com/repos/stripe/stripe-mock/pulls/86","id":202929488,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyOTI5NDg4","html_url":"https://github.com/stripe/stripe-mock/pull/86","diff_url":"https://github.com/stripe/stripe-mock/pull/86.diff","patch_url":"https://github.com/stripe/stripe-mock/pull/86.patch","issue_url":"https://api.github.com/repos/stripe/stripe-mock/issues/86","number":86,"state":"open","locked":false,"title":"Remove support for YAML files","user":{"login":"brandur-stripe","id":23105990,"node_id":"MDQ6VXNlcjIzMTA1OTkw","avatar_url":"https://avatars3.githubusercontent.com/u/23105990?v=4","gravatar_id":"","url":"https://api.github.com/users/brandur-stripe","html_url":"https://github.com/brandur-stripe","followers_url":"https://api.github.com/users/brandur-stripe/followers","following_url":"https://api.github.com/users/brandur-stripe/following{/other_user}","gists_url":"https://api.github.com/users/brandur-stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/brandur-stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandur-stripe/subscriptions","organizations_url":"https://api.github.com/users/brandur-stripe/orgs","repos_url":"https://api.github.com/users/brandur-stripe/repos","events_url":"https://api.github.com/users/brandur-stripe/events{/privacy}","received_events_url":"https://api.github.com/users/brandur-stripe/received_events","type":"User","site_admin":false},"body":"Removes support for YAML files. It turns out that these don't really\nwork anyway, and since we're keeping JSON in the main repository these\ndays, it's somewhat extraneous.\n\nr? @remi-stripe\ncc @stripe-internal/api-libraries","created_at":"2018-07-20T18:54:26Z","updated_at":"2018-07-20T19:06:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c3c674743bcb3548e64e9ff2720ca61fa739987","assignee":{"login":"brandur-stripe","id":23105990,"node_id":"MDQ6VXNlcjIzMTA1OTkw","avatar_url":"https://avatars3.githubusercontent.com/u/23105990?v=4","gravatar_id":"","url":"https://api.github.com/users/brandur-stripe","html_url":"https://github.com/brandur-stripe","followers_url":"https://api.github.com/users/brandur-stripe/followers","following_url":"https://api.github.com/users/brandur-stripe/following{/other_user}","gists_url":"https://api.github.com/users/brandur-stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/brandur-stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandur-stripe/subscriptions","organizations_url":"https://api.github.com/users/brandur-stripe/orgs","repos_url":"https://api.github.com/users/brandur-stripe/repos","events_url":"https://api.github.com/users/brandur-stripe/events{/privacy}","received_events_url":"https://api.github.com/users/brandur-stripe/received_events","type":"User","site_admin":false},"assignees":[{"login":"brandur-stripe","id":23105990,"node_id":"MDQ6VXNlcjIzMTA1OTkw","avatar_url":"https://avatars3.githubusercontent.com/u/23105990?v=4","gravatar_id":"","url":"https://api.github.com/users/brandur-stripe","html_url":"https://github.com/brandur-stripe","followers_url":"https://api.github.com/users/brandur-stripe/followers","following_url":"https://api.github.com/users/brandur-stripe/following{/other_user}","gists_url":"https://api.github.com/users/brandur-stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/brandur-stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandur-stripe/subscriptions","organizations_url":"https://api.github.com/users/brandur-stripe/orgs","repos_url":"https://api.github.com/users/brandur-stripe/repos","events_url":"https://api.github.com/users/brandur-stripe/events{/privacy}","received_events_url":"https://api.github.com/users/brandur-stripe/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/stripe/stripe-mock/pulls/86/commits","review_comments_url":"https://api.github.com/repos/stripe/stripe-mock/pulls/86/comments","review_comment_url":"https://api.github.com/repos/stripe/stripe-mock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stripe/stripe-mock/issues/86/comments","statuses_url":"https://api.github.com/repos/stripe/stripe-mock/statuses/16d55116515de599b1dfe4b82231de57917ffb5b","head":{"label":"stripe:brandur-remove-yaml","ref":"brandur-remove-yaml","sha":"16d55116515de599b1dfe4b82231de57917ffb5b","user":{"login":"stripe","id":856813,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1NjgxMw==","avatar_url":"https://avatars1.githubusercontent.com/u/856813?v=4","gravatar_id":"","url":"https://api.github.com/users/stripe","html_url":"https://github.com/stripe","followers_url":"https://api.github.com/users/stripe/followers","following_url":"https://api.github.com/users/stripe/following{/other_user}","gists_url":"https://api.github.com/users/stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stripe/subscriptions","organizations_url":"https://api.github.com/users/stripe/orgs","repos_url":"https://api.github.com/users/stripe/repos","events_url":"https://api.github.com/users/stripe/events{/privacy}","received_events_url":"https://api.github.com/users/stripe/received_events","type":"Organization","site_admin":false},"repo":{"id":94937631,"node_id":"MDEwOlJlcG9zaXRvcnk5NDkzNzYzMQ==","name":"stripe-mock","full_name":"stripe/stripe-mock","owner":{"login":"stripe","id":856813,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1NjgxMw==","avatar_url":"https://avatars1.githubusercontent.com/u/856813?v=4","gravatar_id":"","url":"https://api.github.com/users/stripe","html_url":"https://github.com/stripe","followers_url":"https://api.github.com/users/stripe/followers","following_url":"https://api.github.com/users/stripe/following{/other_user}","gists_url":"https://api.github.com/users/stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stripe/subscriptions","organizations_url":"https://api.github.com/users/stripe/orgs","repos_url":"https://api.github.com/users/stripe/repos","events_url":"https://api.github.com/users/stripe/events{/privacy}","received_events_url":"https://api.github.com/users/stripe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stripe/stripe-mock","description":"stripe-mock is a mock HTTP server that responds like the real Stripe API. It can be used instead of Stripe's testmode to make test suites integrating with Stripe faster and less brittle.","fork":false,"url":"https://api.github.com/repos/stripe/stripe-mock","forks_url":"https://api.github.com/repos/stripe/stripe-mock/forks","keys_url":"https://api.github.com/repos/stripe/stripe-mock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stripe/stripe-mock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stripe/stripe-mock/teams","hooks_url":"https://api.github.com/repos/stripe/stripe-mock/hooks","issue_events_url":"https://api.github.com/repos/stripe/stripe-mock/issues/events{/number}","events_url":"https://api.github.com/repos/stripe/stripe-mock/events","assignees_url":"https://api.github.com/repos/stripe/stripe-mock/assignees{/user}","branches_url":"https://api.github.com/repos/stripe/stripe-mock/branches{/branch}","tags_url":"https://api.github.com/repos/stripe/stripe-mock/tags","blobs_url":"https://api.github.com/repos/stripe/stripe-mock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stripe/stripe-mock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stripe/stripe-mock/git/refs{/sha}","trees_url":"https://api.github.com/repos/stripe/stripe-mock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stripe/stripe-mock/statuses/{sha}","languages_url":"https://api.github.com/repos/stripe/stripe-mock/languages","stargazers_url":"https://api.github.com/repos/stripe/stripe-mock/stargazers","contributors_url":"https://api.github.com/repos/stripe/stripe-mock/contributors","subscribers_url":"https://api.github.com/repos/stripe/stripe-mock/subscribers","subscription_url":"https://api.github.com/repos/stripe/stripe-mock/subscription","commits_url":"https://api.github.com/repos/stripe/stripe-mock/commits{/sha}","git_commits_url":"https://api.github.com/repos/stripe/stripe-mock/git/commits{/sha}","comments_url":"https://api.github.com/repos/stripe/stripe-mock/comments{/number}","issue_comment_url":"https://api.github.com/repos/stripe/stripe-mock/issues/comments{/number}","contents_url":"https://api.github.com/repos/stripe/stripe-mock/contents/{+path}","compare_url":"https://api.github.com/repos/stripe/stripe-mock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stripe/stripe-mock/merges","archive_url":"https://api.github.com/repos/stripe/stripe-mock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stripe/stripe-mock/downloads","issues_url":"https://api.github.com/repos/stripe/stripe-mock/issues{/number}","pulls_url":"https://api.github.com/repos/stripe/stripe-mock/pulls{/number}","milestones_url":"https://api.github.com/repos/stripe/stripe-mock/milestones{/number}","notifications_url":"https://api.github.com/repos/stripe/stripe-mock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stripe/stripe-mock/labels{/name}","releases_url":"https://api.github.com/repos/stripe/stripe-mock/releases{/id}","deployments_url":"https://api.github.com/repos/stripe/stripe-mock/deployments","created_at":"2017-06-20T21:43:51Z","updated_at":"2018-07-19T20:02:45Z","pushed_at":"2018-07-20T19:06:55Z","git_url":"git://github.com/stripe/stripe-mock.git","ssh_url":"git@github.com:stripe/stripe-mock.git","clone_url":"https://github.com/stripe/stripe-mock.git","svn_url":"https://github.com/stripe/stripe-mock","homepage":"","size":3764,"stargazers_count":305,"watchers_count":305,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":18,"open_issues":10,"watchers":305,"default_branch":"master"}},"base":{"label":"stripe:master","ref":"master","sha":"29dbdac328c4d74d9cd9c5473038946a1d26fa45","user":{"login":"stripe","id":856813,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1NjgxMw==","avatar_url":"https://avatars1.githubusercontent.com/u/856813?v=4","gravatar_id":"","url":"https://api.github.com/users/stripe","html_url":"https://github.com/stripe","followers_url":"https://api.github.com/users/stripe/followers","following_url":"https://api.github.com/users/stripe/following{/other_user}","gists_url":"https://api.github.com/users/stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stripe/subscriptions","organizations_url":"https://api.github.com/users/stripe/orgs","repos_url":"https://api.github.com/users/stripe/repos","events_url":"https://api.github.com/users/stripe/events{/privacy}","received_events_url":"https://api.github.com/users/stripe/received_events","type":"Organization","site_admin":false},"repo":{"id":94937631,"node_id":"MDEwOlJlcG9zaXRvcnk5NDkzNzYzMQ==","name":"stripe-mock","full_name":"stripe/stripe-mock","owner":{"login":"stripe","id":856813,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1NjgxMw==","avatar_url":"https://avatars1.githubusercontent.com/u/856813?v=4","gravatar_id":"","url":"https://api.github.com/users/stripe","html_url":"https://github.com/stripe","followers_url":"https://api.github.com/users/stripe/followers","following_url":"https://api.github.com/users/stripe/following{/other_user}","gists_url":"https://api.github.com/users/stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stripe/subscriptions","organizations_url":"https://api.github.com/users/stripe/orgs","repos_url":"https://api.github.com/users/stripe/repos","events_url":"https://api.github.com/users/stripe/events{/privacy}","received_events_url":"https://api.github.com/users/stripe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stripe/stripe-mock","description":"stripe-mock is a mock HTTP server that responds like the real Stripe API. It can be used instead of Stripe's testmode to make test suites integrating with Stripe faster and less brittle.","fork":false,"url":"https://api.github.com/repos/stripe/stripe-mock","forks_url":"https://api.github.com/repos/stripe/stripe-mock/forks","keys_url":"https://api.github.com/repos/stripe/stripe-mock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stripe/stripe-mock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stripe/stripe-mock/teams","hooks_url":"https://api.github.com/repos/stripe/stripe-mock/hooks","issue_events_url":"https://api.github.com/repos/stripe/stripe-mock/issues/events{/number}","events_url":"https://api.github.com/repos/stripe/stripe-mock/events","assignees_url":"https://api.github.com/repos/stripe/stripe-mock/assignees{/user}","branches_url":"https://api.github.com/repos/stripe/stripe-mock/branches{/branch}","tags_url":"https://api.github.com/repos/stripe/stripe-mock/tags","blobs_url":"https://api.github.com/repos/stripe/stripe-mock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stripe/stripe-mock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stripe/stripe-mock/git/refs{/sha}","trees_url":"https://api.github.com/repos/stripe/stripe-mock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stripe/stripe-mock/statuses/{sha}","languages_url":"https://api.github.com/repos/stripe/stripe-mock/languages","stargazers_url":"https://api.github.com/repos/stripe/stripe-mock/stargazers","contributors_url":"https://api.github.com/repos/stripe/stripe-mock/contributors","subscribers_url":"https://api.github.com/repos/stripe/stripe-mock/subscribers","subscription_url":"https://api.github.com/repos/stripe/stripe-mock/subscription","commits_url":"https://api.github.com/repos/stripe/stripe-mock/commits{/sha}","git_commits_url":"https://api.github.com/repos/stripe/stripe-mock/git/commits{/sha}","comments_url":"https://api.github.com/repos/stripe/stripe-mock/comments{/number}","issue_comment_url":"https://api.github.com/repos/stripe/stripe-mock/issues/comments{/number}","contents_url":"https://api.github.com/repos/stripe/stripe-mock/contents/{+path}","compare_url":"https://api.github.com/repos/stripe/stripe-mock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stripe/stripe-mock/merges","archive_url":"https://api.github.com/repos/stripe/stripe-mock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stripe/stripe-mock/downloads","issues_url":"https://api.github.com/repos/stripe/stripe-mock/issues{/number}","pulls_url":"https://api.github.com/repos/stripe/stripe-mock/pulls{/number}","milestones_url":"https://api.github.com/repos/stripe/stripe-mock/milestones{/number}","notifications_url":"https://api.github.com/repos/stripe/stripe-mock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stripe/stripe-mock/labels{/name}","releases_url":"https://api.github.com/repos/stripe/stripe-mock/releases{/id}","deployments_url":"https://api.github.com/repos/stripe/stripe-mock/deployments","created_at":"2017-06-20T21:43:51Z","updated_at":"2018-07-19T20:02:45Z","pushed_at":"2018-07-20T19:06:55Z","git_url":"git://github.com/stripe/stripe-mock.git","ssh_url":"git@github.com:stripe/stripe-mock.git","clone_url":"https://github.com/stripe/stripe-mock.git","svn_url":"https://github.com/stripe/stripe-mock","homepage":"","size":3764,"stargazers_count":305,"watchers_count":305,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":18,"open_issues":10,"watchers":305,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stripe/stripe-mock/pulls/86"},"html":{"href":"https://github.com/stripe/stripe-mock/pull/86"},"issue":{"href":"https://api.github.com/repos/stripe/stripe-mock/issues/86"},"comments":{"href":"https://api.github.com/repos/stripe/stripe-mock/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/stripe/stripe-mock/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/stripe/stripe-mock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stripe/stripe-mock/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/stripe/stripe-mock/statuses/16d55116515de599b1dfe4b82231de57917ffb5b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"brandur-stripe"}}