{"action":"created","comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/comments/184957823","pull_request_review_id":116252213,"id":184957823,"diff_hunk":"@@ -0,0 +1,31 @@\n+#!/bin/sh\n+\n+SCRIPT=\"$0\"\n+\n+while [ -h \"$SCRIPT\" ] ; do\n+  ls=`ls -ld \"$SCRIPT\"`\n+  link=`expr \"$ls\" : '.*-> \\(.*\\)$'`\n+  if expr \"$link\" : '/.*' > /dev/null; then\n+    SCRIPT=\"$link\"\n+  else\n+    SCRIPT=`dirname \"$SCRIPT\"`/\"$link\"\n+  fi\n+done\n+\n+if [ ! -d \"${APP_DIR}\" ]; then\n+  APP_DIR=`dirname \"$SCRIPT\"`/..\n+  APP_DIR=`cd \"${APP_DIR}\"; pwd`\n+fi\n+\n+executable=\"./modules/swagger-codegen-cli/target/swagger-codegen-cli.jar\"","path":"bin/typescript-angular-v4.3-petstore-interfaces.sh","position":20,"original_position":20,"commit_id":"554a16010b51a4ebfb4d0441cb786b4743ab5e62","original_commit_id":"554a16010b51a4ebfb4d0441cb786b4743ab5e62","user":{"login":"macjohnny","id":5589029,"avatar_url":"https://avatars0.githubusercontent.com/u/5589029?v=4","gravatar_id":"","url":"https://api.github.com/users/macjohnny","html_url":"https://github.com/macjohnny","followers_url":"https://api.github.com/users/macjohnny/followers","following_url":"https://api.github.com/users/macjohnny/following{/other_user}","gists_url":"https://api.github.com/users/macjohnny/gists{/gist_id}","starred_url":"https://api.github.com/users/macjohnny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macjohnny/subscriptions","organizations_url":"https://api.github.com/users/macjohnny/orgs","repos_url":"https://api.github.com/users/macjohnny/repos","events_url":"https://api.github.com/users/macjohnny/events{/privacy}","received_events_url":"https://api.github.com/users/macjohnny/received_events","type":"User","site_admin":false},"body":"could you please also add a script with interfaces for the newly added `v5`?","created_at":"2018-04-30T10:55:14Z","updated_at":"2018-04-30T10:55:14Z","html_url":"https://github.com/swagger-api/swagger-codegen/pull/8102#discussion_r184957823","pull_request_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/8102","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/comments/184957823"},"html":{"href":"https://github.com/swagger-api/swagger-codegen/pull/8102#discussion_r184957823"},"pull_request":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/8102"}}},"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/8102","id":184926481,"html_url":"https://github.com/swagger-api/swagger-codegen/pull/8102","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/8102.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/8102.patch","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/8102","number":8102,"state":"open","locked":false,"title":"typescript-angular: Ng43 with interfaces petstore scripts","user":{"login":"feikede","id":28947591,"avatar_url":"https://avatars2.githubusercontent.com/u/28947591?v=4","gravatar_id":"","url":"https://api.github.com/users/feikede","html_url":"https://github.com/feikede","followers_url":"https://api.github.com/users/feikede/followers","following_url":"https://api.github.com/users/feikede/following{/other_user}","gists_url":"https://api.github.com/users/feikede/gists{/gist_id}","starred_url":"https://api.github.com/users/feikede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feikede/subscriptions","organizations_url":"https://api.github.com/users/feikede/orgs","repos_url":"https://api.github.com/users/feikede/repos","events_url":"https://api.github.com/users/feikede/events{/privacy}","received_events_url":"https://api.github.com/users/feikede/received_events","type":"User","site_admin":false},"body":"Added petstore sample scripts and output for typescript-angular 4.3 withInterfaces generation\r\n\r\n### PR checklist\r\n\r\n- [x] Read the [contribution guidelines](https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md).\r\n- [x] Ran the shell script under `./bin/` to update Petstore sample so that CIs can verify the change. (For instance, only need to run `./bin/{LANG}-petstore.sh` and `./bin/security/{LANG}-petstore.sh` if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in `.\\bin\\windows\\`.\r\n- [x] Filed the PR against the correct branch: `3.0.0` branch for changes related to OpenAPI spec 3.0. Default: `master`.\r\n- [ ] Copied the [technical committee](https://github.com/swagger-api/swagger-codegen/#swagger-codegen-technical-committee) to review the pull request if your PR is targeting a particular programming language.\r\n\r\n### Description of the PR\r\n\r\n@macjohnny Added scripts to generate the petstore examples for angular-typescript 4.3 like discussed in https://github.com/swagger-api/swagger-codegen/pull/7975#issuecomment-381109842\r\n\r\nAlso added the example output.\r\n \r\n","created_at":"2018-04-30T10:47:26Z","updated_at":"2018-04-30T10:55:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e0c2d0a371830b18e854ea2d8002584b38c0262","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/8102/commits","review_comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/8102/comments","review_comment_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/8102/comments","statuses_url":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/554a16010b51a4ebfb4d0441cb786b4743ab5e62","head":{"label":"feikede:ng43_exams_withInterfaces","ref":"ng43_exams_withInterfaces","sha":"554a16010b51a4ebfb4d0441cb786b4743ab5e62","user":{"login":"feikede","id":28947591,"avatar_url":"https://avatars2.githubusercontent.com/u/28947591?v=4","gravatar_id":"","url":"https://api.github.com/users/feikede","html_url":"https://github.com/feikede","followers_url":"https://api.github.com/users/feikede/followers","following_url":"https://api.github.com/users/feikede/following{/other_user}","gists_url":"https://api.github.com/users/feikede/gists{/gist_id}","starred_url":"https://api.github.com/users/feikede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feikede/subscriptions","organizations_url":"https://api.github.com/users/feikede/orgs","repos_url":"https://api.github.com/users/feikede/repos","events_url":"https://api.github.com/users/feikede/events{/privacy}","received_events_url":"https://api.github.com/users/feikede/received_events","type":"User","site_admin":false},"repo":{"id":128171298,"name":"swagger-codegen","full_name":"feikede/swagger-codegen","owner":{"login":"feikede","id":28947591,"avatar_url":"https://avatars2.githubusercontent.com/u/28947591?v=4","gravatar_id":"","url":"https://api.github.com/users/feikede","html_url":"https://github.com/feikede","followers_url":"https://api.github.com/users/feikede/followers","following_url":"https://api.github.com/users/feikede/following{/other_user}","gists_url":"https://api.github.com/users/feikede/gists{/gist_id}","starred_url":"https://api.github.com/users/feikede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feikede/subscriptions","organizations_url":"https://api.github.com/users/feikede/orgs","repos_url":"https://api.github.com/users/feikede/repos","events_url":"https://api.github.com/users/feikede/events{/privacy}","received_events_url":"https://api.github.com/users/feikede/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feikede/swagger-codegen","description":"swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.","fork":true,"url":"https://api.github.com/repos/feikede/swagger-codegen","forks_url":"https://api.github.com/repos/feikede/swagger-codegen/forks","keys_url":"https://api.github.com/repos/feikede/swagger-codegen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feikede/swagger-codegen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feikede/swagger-codegen/teams","hooks_url":"https://api.github.com/repos/feikede/swagger-codegen/hooks","issue_events_url":"https://api.github.com/repos/feikede/swagger-codegen/issues/events{/number}","events_url":"https://api.github.com/repos/feikede/swagger-codegen/events","assignees_url":"https://api.github.com/repos/feikede/swagger-codegen/assignees{/user}","branches_url":"https://api.github.com/repos/feikede/swagger-codegen/branches{/branch}","tags_url":"https://api.github.com/repos/feikede/swagger-codegen/tags","blobs_url":"https://api.github.com/repos/feikede/swagger-codegen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feikede/swagger-codegen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feikede/swagger-codegen/git/refs{/sha}","trees_url":"https://api.github.com/repos/feikede/swagger-codegen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feikede/swagger-codegen/statuses/{sha}","languages_url":"https://api.github.com/repos/feikede/swagger-codegen/languages","stargazers_url":"https://api.github.com/repos/feikede/swagger-codegen/stargazers","contributors_url":"https://api.github.com/repos/feikede/swagger-codegen/contributors","subscribers_url":"https://api.github.com/repos/feikede/swagger-codegen/subscribers","subscription_url":"https://api.github.com/repos/feikede/swagger-codegen/subscription","commits_url":"https://api.github.com/repos/feikede/swagger-codegen/commits{/sha}","git_commits_url":"https://api.github.com/repos/feikede/swagger-codegen/git/commits{/sha}","comments_url":"https://api.github.com/repos/feikede/swagger-codegen/comments{/number}","issue_comment_url":"https://api.github.com/repos/feikede/swagger-codegen/issues/comments{/number}","contents_url":"https://api.github.com/repos/feikede/swagger-codegen/contents/{+path}","compare_url":"https://api.github.com/repos/feikede/swagger-codegen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feikede/swagger-codegen/merges","archive_url":"https://api.github.com/repos/feikede/swagger-codegen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feikede/swagger-codegen/downloads","issues_url":"https://api.github.com/repos/feikede/swagger-codegen/issues{/number}","pulls_url":"https://api.github.com/repos/feikede/swagger-codegen/pulls{/number}","milestones_url":"https://api.github.com/repos/feikede/swagger-codegen/milestones{/number}","notifications_url":"https://api.github.com/repos/feikede/swagger-codegen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feikede/swagger-codegen/labels{/name}","releases_url":"https://api.github.com/repos/feikede/swagger-codegen/releases{/id}","deployments_url":"https://api.github.com/repos/feikede/swagger-codegen/deployments","created_at":"2018-04-05T07:11:49Z","updated_at":"2018-04-30T08:49:16Z","pushed_at":"2018-04-30T10:34:49Z","git_url":"git://github.com/feikede/swagger-codegen.git","ssh_url":"git@github.com:feikede/swagger-codegen.git","clone_url":"https://github.com/feikede/swagger-codegen.git","svn_url":"https://github.com/feikede/swagger-codegen","homepage":"http://swagger.io","size":72609,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"swagger-api:master","ref":"master","sha":"f9ae84d12aa8b602cf0df6f784f1ab77cf72550b","user":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars3.githubusercontent.com/u/7658037?v=4","gravatar_id":"","url":"https://api.github.com/users/swagger-api","html_url":"https://github.com/swagger-api","followers_url":"https://api.github.com/users/swagger-api/followers","following_url":"https://api.github.com/users/swagger-api/following{/other_user}","gists_url":"https://api.github.com/users/swagger-api/gists{/gist_id}","starred_url":"https://api.github.com/users/swagger-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagger-api/subscriptions","organizations_url":"https://api.github.com/users/swagger-api/orgs","repos_url":"https://api.github.com/users/swagger-api/repos","events_url":"https://api.github.com/users/swagger-api/events{/privacy}","received_events_url":"https://api.github.com/users/swagger-api/received_events","type":"Organization","site_admin":false},"repo":{"id":2006876,"name":"swagger-codegen","full_name":"swagger-api/swagger-codegen","owner":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars3.githubusercontent.com/u/7658037?v=4","gravatar_id":"","url":"https://api.github.com/users/swagger-api","html_url":"https://github.com/swagger-api","followers_url":"https://api.github.com/users/swagger-api/followers","following_url":"https://api.github.com/users/swagger-api/following{/other_user}","gists_url":"https://api.github.com/users/swagger-api/gists{/gist_id}","starred_url":"https://api.github.com/users/swagger-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagger-api/subscriptions","organizations_url":"https://api.github.com/users/swagger-api/orgs","repos_url":"https://api.github.com/users/swagger-api/repos","events_url":"https://api.github.com/users/swagger-api/events{/privacy}","received_events_url":"https://api.github.com/users/swagger-api/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swagger-api/swagger-codegen","description":"swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.","fork":false,"url":"https://api.github.com/repos/swagger-api/swagger-codegen","forks_url":"https://api.github.com/repos/swagger-api/swagger-codegen/forks","keys_url":"https://api.github.com/repos/swagger-api/swagger-codegen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swagger-api/swagger-codegen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swagger-api/swagger-codegen/teams","hooks_url":"https://api.github.com/repos/swagger-api/swagger-codegen/hooks","issue_events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/events{/number}","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/events","assignees_url":"https://api.github.com/repos/swagger-api/swagger-codegen/assignees{/user}","branches_url":"https://api.github.com/repos/swagger-api/swagger-codegen/branches{/branch}","tags_url":"https://api.github.com/repos/swagger-api/swagger-codegen/tags","blobs_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/refs{/sha}","trees_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/{sha}","languages_url":"https://api.github.com/repos/swagger-api/swagger-codegen/languages","stargazers_url":"https://api.github.com/repos/swagger-api/swagger-codegen/stargazers","contributors_url":"https://api.github.com/repos/swagger-api/swagger-codegen/contributors","subscribers_url":"https://api.github.com/repos/swagger-api/swagger-codegen/subscribers","subscription_url":"https://api.github.com/repos/swagger-api/swagger-codegen/subscription","commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/commits{/sha}","git_commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/commits{/sha}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/comments{/number}","issue_comment_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments{/number}","contents_url":"https://api.github.com/repos/swagger-api/swagger-codegen/contents/{+path}","compare_url":"https://api.github.com/repos/swagger-api/swagger-codegen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swagger-api/swagger-codegen/merges","archive_url":"https://api.github.com/repos/swagger-api/swagger-codegen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swagger-api/swagger-codegen/downloads","issues_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues{/number}","pulls_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls{/number}","milestones_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones{/number}","notifications_url":"https://api.github.com/repos/swagger-api/swagger-codegen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels{/name}","releases_url":"https://api.github.com/repos/swagger-api/swagger-codegen/releases{/id}","deployments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/deployments","created_at":"2011-07-06T14:26:48Z","updated_at":"2018-04-30T07:20:44Z","pushed_at":"2018-04-30T10:47:27Z","git_url":"git://github.com/swagger-api/swagger-codegen.git","ssh_url":"git@github.com:swagger-api/swagger-codegen.git","clone_url":"https://github.com/swagger-api/swagger-codegen.git","svn_url":"https://github.com/swagger-api/swagger-codegen","homepage":"http://swagger.io","size":72207,"stargazers_count":6739,"watchers_count":6739,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3526,"mirror_url":null,"archived":false,"open_issues_count":1436,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":3526,"open_issues":1436,"watchers":6739,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/8102"},"html":{"href":"https://github.com/swagger-api/swagger-codegen/pull/8102"},"issue":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/8102"},"comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/8102/comments"},"review_comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/8102/comments"},"review_comment":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/8102/commits"},"statuses":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/554a16010b51a4ebfb4d0441cb786b4743ab5e62"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"macjohnny"}}