{"action":"created","comment":{"url":"https://api.github.com/repos/contiamo/restful-react/pulls/comments/238276783","pull_request_review_id":180773740,"id":238276783,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODI3Njc4Mw==","diff_hunk":"@@ -0,0 +1,93 @@\n+import program from \"commander\";\n+import { existsSync, readFileSync, writeFileSync } from \"fs\";\n+import inquirer from \"inquirer\";\n+import { join, parse } from \"path\";\n+import request from \"request\";\n+import importOpenApi from \"../scripts/import-open-api\";\n+\n+program.option(\"-o, --output [value]\", \"output file destination\");\n+program.option(\"-f, --file [value]\", \"input file (yaml or json openapi specs)\");\n+program.option(\"-g, --github [value]\", \"github path (format: `owner:repo:branch:path`)\");\n+program.parse(process.argv);\n+\n+(async () => {\n+  if (program.file) {\n+    const data = readFileSync(join(process.cwd(), program.file), \"utf-8\");","path":"src/bin/restful-react-import.ts","position":15,"original_position":15,"commit_id":"ef52906ae0b6ea63b6799e2958f34823f8543f63","original_commit_id":"ef52906ae0b6ea63b6799e2958f34823f8543f63","user":{"login":"TejasQ","id":9947422,"node_id":"MDQ6VXNlcjk5NDc0MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/9947422?v=4","gravatar_id":"","url":"https://api.github.com/users/TejasQ","html_url":"https://github.com/TejasQ","followers_url":"https://api.github.com/users/TejasQ/followers","following_url":"https://api.github.com/users/TejasQ/following{/other_user}","gists_url":"https://api.github.com/users/TejasQ/gists{/gist_id}","starred_url":"https://api.github.com/users/TejasQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TejasQ/subscriptions","organizations_url":"https://api.github.com/users/TejasQ/orgs","repos_url":"https://api.github.com/users/TejasQ/repos","events_url":"https://api.github.com/users/TejasQ/events{/privacy}","received_events_url":"https://api.github.com/users/TejasQ/received_events","type":"User","site_admin":false},"body":"What happens if this fails?","created_at":"2018-12-03T13:57:17Z","updated_at":"2018-12-03T13:59:17Z","html_url":"https://github.com/contiamo/restful-react/pull/28#discussion_r238276783","pull_request_url":"https://api.github.com/repos/contiamo/restful-react/pulls/28","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/contiamo/restful-react/pulls/comments/238276783"},"html":{"href":"https://github.com/contiamo/restful-react/pull/28#discussion_r238276783"},"pull_request":{"href":"https://api.github.com/repos/contiamo/restful-react/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/contiamo/restful-react/pulls/28","id":208271696,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MjcxNjk2","html_url":"https://github.com/contiamo/restful-react/pull/28","diff_url":"https://github.com/contiamo/restful-react/pull/28.diff","patch_url":"https://github.com/contiamo/restful-react/pull/28.patch","issue_url":"https://api.github.com/repos/contiamo/restful-react/issues/28","number":28,"state":"open","locked":false,"title":"Open api import","user":{"login":"fabien0102","id":1761469,"node_id":"MDQ6VXNlcjE3NjE0Njk=","avatar_url":"https://avatars1.githubusercontent.com/u/1761469?v=4","gravatar_id":"","url":"https://api.github.com/users/fabien0102","html_url":"https://github.com/fabien0102","followers_url":"https://api.github.com/users/fabien0102/followers","following_url":"https://api.github.com/users/fabien0102/following{/other_user}","gists_url":"https://api.github.com/users/fabien0102/gists{/gist_id}","starred_url":"https://api.github.com/users/fabien0102/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabien0102/subscriptions","organizations_url":"https://api.github.com/users/fabien0102/orgs","repos_url":"https://api.github.com/users/fabien0102/repos","events_url":"https://api.github.com/users/fabien0102/events{/privacy}","received_events_url":"https://api.github.com/users/fabien0102/received_events","type":"User","site_admin":false},"body":"# Why\r\n\r\nThe idea is to be able to give any open-api specs file (in json or yaml) and generate fully typed restful-react components 🎉 \r\n\r\n## Usage\r\n\r\n```sh\r\n$ npm i -g restful-react\r\n$ restful-react import open-api.yaml --output myAPI.d.ts\r\n```\r\n\r\n## Output (current)\r\n```ts\r\n/* Generated by restful-react */\r\n\r\nimport qs from \\\\\"qs\\\\\";\r\nimport React from \\\\\"react\\\\\";\r\nimport { Get, GetProps, Mutate, MutateProps } from \\\\\"restful-react\\\\\";\r\n\r\nexport type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;\r\n\r\nexport type Pet = NewPet & {id: number};\r\n\r\nexport interface NewPet {name: string; tag?: string}\r\n\r\nexport interface Error {code: number; message: string}\r\n\r\nexport type FindPetsProps = Omit<GetProps<Pet[], Error>, \\\\\"path\\\\\"> & {tags?: string[]; limit?: number};\r\n\r\n\r\nexport const FindPets = ({tags, limit, ...props}: FindPetsProps) => (\r\n  <Get<Pet[], Error>\r\n    path={\\`/pets?\\${qs.stringify({tags, limit})}\\`}\r\n    base=\\\\\"http://localhost\\\\\"\r\n    {...props}\r\n  />\r\n);\r\n\r\n\r\nexport type AddPetProps = Omit<MutateProps<Error, Pet, NewPet>, \\\\\"path\\\\\">;\r\n\r\n\r\nexport const AddPet = (props: AddPetProps) => (\r\n  <Mutate<Error, Pet, NewPet>\r\n    path={\\`/pets\\`}\r\n    base=\\\\\"http://localhost\\\\\"\r\n    {...props}\r\n  />\r\n);\r\n\r\n\r\nexport type FindPetByIdProps = Omit<GetProps<Pet, Error>, \\\\\"path\\\\\"> & {id: number};\r\n\r\n\r\nexport const FindPetById = ({id, ...props}: FindPetByIdProps) => (\r\n  <Get<Pet, Error>\r\n    path={\\`/pets/\\${id}\\`}\r\n    base=\\\\\"http://localhost\\\\\"\r\n    {...props}\r\n  />\r\n);\r\n\r\n\r\nexport type DeletePetProps = Omit<MutateProps<Error, void, void>, \\\\\"path\\\\\"> & {id: number};\r\n\r\n\r\nexport const DeletePet = ({id, ...props}: DeletePetProps) => (\r\n  <Mutate<Error, void, void>\r\n    path={\\`/pets/\\${id}\\`}\r\n    base=\\\\\"http://localhost\\\\\"\r\n    {...props}\r\n  />\r\n);\r\n```\r\n\r\n## Usage inside the client project (current)\r\n\r\n```ts\r\nimport { FindPetById } from \"./myAPI\"\r\n\r\nconst MyComponent = () =>\r\n  <FindPetById id={42}>\r\n   {(data) => /* I have type definition here!!! */}\r\n  </FindPetById>\r\n```\r\n\r\n## Todo\r\n\r\nAs the above example show, everything open-api definition pattern are not following yet. I will update this example during the API evolution :wink:\r\n\r\n- [x] Deal with `allOf` pattern\r\n- [x] Deal with parameters (`in: \"path\"` and `in: \"query\"`)\r\n- [x] Add a Generic into `Mutation` component to be able to type `body`\r\n- [x] Generate `Mutation` component\r\n- [x] Add integration test\r\n- [x] Fix the build ( we need to have `\"module\": \"commonjs\"` )\r\n- [x] Support swagger 2 out of the box (https://github.com/Mermade/oas-kit/blob/master/packages/swagger2openapi/README.md)\r\n- [x] The `verb` is missing in `Mutate`\r\n- [x] Add quick documentation\r\n- [x] Try in real project to see if the typescript definition follow as expected","created_at":"2018-08-14T12:55:08Z","updated_at":"2018-12-03T13:59:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67ad9e51f504088fb27c5329a876697b1c777488","assignee":{"login":"fabien0102","id":1761469,"node_id":"MDQ6VXNlcjE3NjE0Njk=","avatar_url":"https://avatars1.githubusercontent.com/u/1761469?v=4","gravatar_id":"","url":"https://api.github.com/users/fabien0102","html_url":"https://github.com/fabien0102","followers_url":"https://api.github.com/users/fabien0102/followers","following_url":"https://api.github.com/users/fabien0102/following{/other_user}","gists_url":"https://api.github.com/users/fabien0102/gists{/gist_id}","starred_url":"https://api.github.com/users/fabien0102/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabien0102/subscriptions","organizations_url":"https://api.github.com/users/fabien0102/orgs","repos_url":"https://api.github.com/users/fabien0102/repos","events_url":"https://api.github.com/users/fabien0102/events{/privacy}","received_events_url":"https://api.github.com/users/fabien0102/received_events","type":"User","site_admin":false},"assignees":[{"login":"fabien0102","id":1761469,"node_id":"MDQ6VXNlcjE3NjE0Njk=","avatar_url":"https://avatars1.githubusercontent.com/u/1761469?v=4","gravatar_id":"","url":"https://api.github.com/users/fabien0102","html_url":"https://github.com/fabien0102","followers_url":"https://api.github.com/users/fabien0102/followers","following_url":"https://api.github.com/users/fabien0102/following{/other_user}","gists_url":"https://api.github.com/users/fabien0102/gists{/gist_id}","starred_url":"https://api.github.com/users/fabien0102/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabien0102/subscriptions","organizations_url":"https://api.github.com/users/fabien0102/orgs","repos_url":"https://api.github.com/users/fabien0102/repos","events_url":"https://api.github.com/users/fabien0102/events{/privacy}","received_events_url":"https://api.github.com/users/fabien0102/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":979178862,"node_id":"MDU6TGFiZWw5NzkxNzg4NjI=","url":"https://api.github.com/repos/contiamo/restful-react/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":979178863,"node_id":"MDU6TGFiZWw5NzkxNzg4NjM=","url":"https://api.github.com/repos/contiamo/restful-react/labels/help%20wanted","name":"help wanted","color":"008672","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/contiamo/restful-react/pulls/28/commits","review_comments_url":"https://api.github.com/repos/contiamo/restful-react/pulls/28/comments","review_comment_url":"https://api.github.com/repos/contiamo/restful-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contiamo/restful-react/issues/28/comments","statuses_url":"https://api.github.com/repos/contiamo/restful-react/statuses/ef52906ae0b6ea63b6799e2958f34823f8543f63","head":{"label":"contiamo:open-api-import","ref":"open-api-import","sha":"ef52906ae0b6ea63b6799e2958f34823f8543f63","user":{"login":"contiamo","id":862286,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2MjI4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/862286?v=4","gravatar_id":"","url":"https://api.github.com/users/contiamo","html_url":"https://github.com/contiamo","followers_url":"https://api.github.com/users/contiamo/followers","following_url":"https://api.github.com/users/contiamo/following{/other_user}","gists_url":"https://api.github.com/users/contiamo/gists{/gist_id}","starred_url":"https://api.github.com/users/contiamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiamo/subscriptions","organizations_url":"https://api.github.com/users/contiamo/orgs","repos_url":"https://api.github.com/users/contiamo/repos","events_url":"https://api.github.com/users/contiamo/events{/privacy}","received_events_url":"https://api.github.com/users/contiamo/received_events","type":"Organization","site_admin":false},"repo":{"id":139149148,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxNDkxNDg=","name":"restful-react","full_name":"contiamo/restful-react","private":false,"owner":{"login":"contiamo","id":862286,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2MjI4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/862286?v=4","gravatar_id":"","url":"https://api.github.com/users/contiamo","html_url":"https://github.com/contiamo","followers_url":"https://api.github.com/users/contiamo/followers","following_url":"https://api.github.com/users/contiamo/following{/other_user}","gists_url":"https://api.github.com/users/contiamo/gists{/gist_id}","starred_url":"https://api.github.com/users/contiamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiamo/subscriptions","organizations_url":"https://api.github.com/users/contiamo/orgs","repos_url":"https://api.github.com/users/contiamo/repos","events_url":"https://api.github.com/users/contiamo/events{/privacy}","received_events_url":"https://api.github.com/users/contiamo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/contiamo/restful-react","description":"A consistent, declarative way of interacting with RESTful backends.","fork":false,"url":"https://api.github.com/repos/contiamo/restful-react","forks_url":"https://api.github.com/repos/contiamo/restful-react/forks","keys_url":"https://api.github.com/repos/contiamo/restful-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contiamo/restful-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contiamo/restful-react/teams","hooks_url":"https://api.github.com/repos/contiamo/restful-react/hooks","issue_events_url":"https://api.github.com/repos/contiamo/restful-react/issues/events{/number}","events_url":"https://api.github.com/repos/contiamo/restful-react/events","assignees_url":"https://api.github.com/repos/contiamo/restful-react/assignees{/user}","branches_url":"https://api.github.com/repos/contiamo/restful-react/branches{/branch}","tags_url":"https://api.github.com/repos/contiamo/restful-react/tags","blobs_url":"https://api.github.com/repos/contiamo/restful-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contiamo/restful-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contiamo/restful-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/contiamo/restful-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contiamo/restful-react/statuses/{sha}","languages_url":"https://api.github.com/repos/contiamo/restful-react/languages","stargazers_url":"https://api.github.com/repos/contiamo/restful-react/stargazers","contributors_url":"https://api.github.com/repos/contiamo/restful-react/contributors","subscribers_url":"https://api.github.com/repos/contiamo/restful-react/subscribers","subscription_url":"https://api.github.com/repos/contiamo/restful-react/subscription","commits_url":"https://api.github.com/repos/contiamo/restful-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/contiamo/restful-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/contiamo/restful-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/contiamo/restful-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/contiamo/restful-react/contents/{+path}","compare_url":"https://api.github.com/repos/contiamo/restful-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contiamo/restful-react/merges","archive_url":"https://api.github.com/repos/contiamo/restful-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contiamo/restful-react/downloads","issues_url":"https://api.github.com/repos/contiamo/restful-react/issues{/number}","pulls_url":"https://api.github.com/repos/contiamo/restful-react/pulls{/number}","milestones_url":"https://api.github.com/repos/contiamo/restful-react/milestones{/number}","notifications_url":"https://api.github.com/repos/contiamo/restful-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contiamo/restful-react/labels{/name}","releases_url":"https://api.github.com/repos/contiamo/restful-react/releases{/id}","deployments_url":"https://api.github.com/repos/contiamo/restful-react/deployments","created_at":"2018-06-29T12:52:25Z","updated_at":"2018-11-23T05:28:05Z","pushed_at":"2018-12-03T08:55:37Z","git_url":"git://github.com/contiamo/restful-react.git","ssh_url":"git@github.com:contiamo/restful-react.git","clone_url":"https://github.com/contiamo/restful-react.git","svn_url":"https://github.com/contiamo/restful-react","homepage":null,"size":5597,"stargazers_count":122,"watchers_count":122,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11,"open_issues":14,"watchers":122,"default_branch":"master"}},"base":{"label":"contiamo:master","ref":"master","sha":"8a6ffd7eab28123d288e04b388fe2dc9d39263c8","user":{"login":"contiamo","id":862286,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2MjI4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/862286?v=4","gravatar_id":"","url":"https://api.github.com/users/contiamo","html_url":"https://github.com/contiamo","followers_url":"https://api.github.com/users/contiamo/followers","following_url":"https://api.github.com/users/contiamo/following{/other_user}","gists_url":"https://api.github.com/users/contiamo/gists{/gist_id}","starred_url":"https://api.github.com/users/contiamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiamo/subscriptions","organizations_url":"https://api.github.com/users/contiamo/orgs","repos_url":"https://api.github.com/users/contiamo/repos","events_url":"https://api.github.com/users/contiamo/events{/privacy}","received_events_url":"https://api.github.com/users/contiamo/received_events","type":"Organization","site_admin":false},"repo":{"id":139149148,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxNDkxNDg=","name":"restful-react","full_name":"contiamo/restful-react","private":false,"owner":{"login":"contiamo","id":862286,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2MjI4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/862286?v=4","gravatar_id":"","url":"https://api.github.com/users/contiamo","html_url":"https://github.com/contiamo","followers_url":"https://api.github.com/users/contiamo/followers","following_url":"https://api.github.com/users/contiamo/following{/other_user}","gists_url":"https://api.github.com/users/contiamo/gists{/gist_id}","starred_url":"https://api.github.com/users/contiamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiamo/subscriptions","organizations_url":"https://api.github.com/users/contiamo/orgs","repos_url":"https://api.github.com/users/contiamo/repos","events_url":"https://api.github.com/users/contiamo/events{/privacy}","received_events_url":"https://api.github.com/users/contiamo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/contiamo/restful-react","description":"A consistent, declarative way of interacting with RESTful backends.","fork":false,"url":"https://api.github.com/repos/contiamo/restful-react","forks_url":"https://api.github.com/repos/contiamo/restful-react/forks","keys_url":"https://api.github.com/repos/contiamo/restful-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contiamo/restful-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contiamo/restful-react/teams","hooks_url":"https://api.github.com/repos/contiamo/restful-react/hooks","issue_events_url":"https://api.github.com/repos/contiamo/restful-react/issues/events{/number}","events_url":"https://api.github.com/repos/contiamo/restful-react/events","assignees_url":"https://api.github.com/repos/contiamo/restful-react/assignees{/user}","branches_url":"https://api.github.com/repos/contiamo/restful-react/branches{/branch}","tags_url":"https://api.github.com/repos/contiamo/restful-react/tags","blobs_url":"https://api.github.com/repos/contiamo/restful-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contiamo/restful-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contiamo/restful-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/contiamo/restful-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contiamo/restful-react/statuses/{sha}","languages_url":"https://api.github.com/repos/contiamo/restful-react/languages","stargazers_url":"https://api.github.com/repos/contiamo/restful-react/stargazers","contributors_url":"https://api.github.com/repos/contiamo/restful-react/contributors","subscribers_url":"https://api.github.com/repos/contiamo/restful-react/subscribers","subscription_url":"https://api.github.com/repos/contiamo/restful-react/subscription","commits_url":"https://api.github.com/repos/contiamo/restful-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/contiamo/restful-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/contiamo/restful-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/contiamo/restful-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/contiamo/restful-react/contents/{+path}","compare_url":"https://api.github.com/repos/contiamo/restful-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contiamo/restful-react/merges","archive_url":"https://api.github.com/repos/contiamo/restful-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contiamo/restful-react/downloads","issues_url":"https://api.github.com/repos/contiamo/restful-react/issues{/number}","pulls_url":"https://api.github.com/repos/contiamo/restful-react/pulls{/number}","milestones_url":"https://api.github.com/repos/contiamo/restful-react/milestones{/number}","notifications_url":"https://api.github.com/repos/contiamo/restful-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contiamo/restful-react/labels{/name}","releases_url":"https://api.github.com/repos/contiamo/restful-react/releases{/id}","deployments_url":"https://api.github.com/repos/contiamo/restful-react/deployments","created_at":"2018-06-29T12:52:25Z","updated_at":"2018-11-23T05:28:05Z","pushed_at":"2018-12-03T08:55:37Z","git_url":"git://github.com/contiamo/restful-react.git","ssh_url":"git@github.com:contiamo/restful-react.git","clone_url":"https://github.com/contiamo/restful-react.git","svn_url":"https://github.com/contiamo/restful-react","homepage":null,"size":5597,"stargazers_count":122,"watchers_count":122,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11,"open_issues":14,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contiamo/restful-react/pulls/28"},"html":{"href":"https://github.com/contiamo/restful-react/pull/28"},"issue":{"href":"https://api.github.com/repos/contiamo/restful-react/issues/28"},"comments":{"href":"https://api.github.com/repos/contiamo/restful-react/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/contiamo/restful-react/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/contiamo/restful-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contiamo/restful-react/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/contiamo/restful-react/statuses/ef52906ae0b6ea63b6799e2958f34823f8543f63"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"TejasQ"}}