{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2616","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2616/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2616/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2616/events","html_url":"https://github.com/swagger-api/swagger-codegen/pull/2616","id":148708470,"number":2616,"title":"add variable for listContainerType","user":{"login":"psev","id":773099,"avatar_url":"https://avatars.githubusercontent.com/u/773099?v=3","gravatar_id":"","url":"https://api.github.com/users/psev","html_url":"https://github.com/psev","followers_url":"https://api.github.com/users/psev/followers","following_url":"https://api.github.com/users/psev/following{/other_user}","gists_url":"https://api.github.com/users/psev/gists{/gist_id}","starred_url":"https://api.github.com/users/psev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psev/subscriptions","organizations_url":"https://api.github.com/users/psev/orgs","repos_url":"https://api.github.com/users/psev/repos","events_url":"https://api.github.com/users/psev/events{/privacy}","received_events_url":"https://api.github.com/users/psev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-15T16:37:05Z","updated_at":"2016-04-16T08:41:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/2616","html_url":"https://github.com/swagger-api/swagger-codegen/pull/2616","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/2616.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/2616.patch"},"body":"Add two variables called returnContainerType and listDatatype.\r\nAlso fixed inconsistent indentation near the bottom of *AbstractTypeScriptClientCodegen.java*.\r\n\r\nThis is required because `import * from \"library\"` does not work in TypeScript. The required format is to import a library into a namespace, e.g. `import * as lib from \"library\"`.\r\n\r\nThe conflict occurs when dealing with containers and custom datatypes. Using the `datatype` and `returnType` variables return something along the lines of `Array<MyClass>` when `Array<lib.MyClass>` is required.\r\n\r\nThis commit allows TypeScript templates to be created with the proper format."},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/210772618","html_url":"https://github.com/swagger-api/swagger-codegen/pull/2616#issuecomment-210772618","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2616","id":210772618,"user":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T08:41:42Z","updated_at":"2016-04-16T08:41:42Z","body":"@psev thanks for the PR. The first comment I've is to use 4-space indention for your changes in the Java class files.\r\n\r\nRef: https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md"}}