{"action":"opened","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2441","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2441/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2441/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2441/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/2441","id":143110610,"number":2441,"title":"[JS Client] Model classes and index.js have empty values for {{classname}}","user":{"login":"maneeshsahu","id":1760679,"avatar_url":"https://avatars.githubusercontent.com/u/1760679?v=3","gravatar_id":"","url":"https://api.github.com/users/maneeshsahu","html_url":"https://github.com/maneeshsahu","followers_url":"https://api.github.com/users/maneeshsahu/followers","following_url":"https://api.github.com/users/maneeshsahu/following{/other_user}","gists_url":"https://api.github.com/users/maneeshsahu/gists{/gist_id}","starred_url":"https://api.github.com/users/maneeshsahu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maneeshsahu/subscriptions","organizations_url":"https://api.github.com/users/maneeshsahu/orgs","repos_url":"https://api.github.com/users/maneeshsahu/repos","events_url":"https://api.github.com/users/maneeshsahu/events{/privacy}","received_events_url":"https://api.github.com/users/maneeshsahu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-24T00:06:52Z","updated_at":"2016-03-24T00:06:52Z","closed_at":null,"body":"I have tried using both 2.1.5 and 2.1.6-SNAPSHOT for generating the JS Client. With both versions, the Model classes and index.js were incorrectly generated. I am using the Petstore Spec and this was generated:\r\n\r\nindex.js\r\n`\r\n}(function(ApiClient, , , , , , , UserApi, StoreApi, PetApi) {\r\n  'use strict';\r\n`\r\n\r\nPet.js\r\n`    root.ArtikCloud. = factory(root.ArtikCloud.ApiClient, root.ArtikCloud.Category, root.ArtikCloud.Tag);\r\n`\r\n\r\nIt seems like the {{classname}} is not recognized in the Javascript mustache templates. "}}