{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/452","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/452/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/452/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/452/events","html_url":"https://github.com/swagger-api/swagger-codegen/pull/452","id":58702880,"number":452,"title":"Defect (Issue #445) : change the call of initialCaps for getter and setter proper generation","user":{"login":"herveDarritchon","id":5511927,"avatar_url":"https://avatars.githubusercontent.com/u/5511927?v=3","gravatar_id":"","url":"https://api.github.com/users/herveDarritchon","html_url":"https://github.com/herveDarritchon","followers_url":"https://api.github.com/users/herveDarritchon/followers","following_url":"https://api.github.com/users/herveDarritchon/following{/other_user}","gists_url":"https://api.github.com/users/herveDarritchon/gists{/gist_id}","starred_url":"https://api.github.com/users/herveDarritchon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herveDarritchon/subscriptions","organizations_url":"https://api.github.com/users/herveDarritchon/orgs","repos_url":"https://api.github.com/users/herveDarritchon/repos","events_url":"https://api.github.com/users/herveDarritchon/events{/privacy}","received_events_url":"https://api.github.com/users/herveDarritchon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T07:26:27Z","updated_at":"2015-02-24T10:09:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/452","html_url":"https://github.com/swagger-api/swagger-codegen/pull/452","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/452.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/452.patch"},"body":"Getter and Setter with 2nd chars being uppercase are not generated following the Sun specification : http://download.oracle.com/otn-pub/jcp/7224-javabeans-1.01-fr-spec-oth-JSpec/beans.101.pdf?AuthParam=1424762391_ef17a82335203d9fbf095a2f819eb317\r\nChapter 8.8.\r\n\r\nWhen you generate a getter and setter, you should get : \r\nfooBah --> getFooBah\r\nmAttr --> getmAttr\r\n\r\nThat was not the cas, we got previously, which is wrong.\r\nfooBah --> getFooBah\r\nmAttr --> getMAttr\r\n\r\nI have made a new function called getterAndSetterCapitalize which takes a String and return the proper capitalized name for getter and setter.\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/75729992","html_url":"https://github.com/swagger-api/swagger-codegen/pull/452#issuecomment-75729992","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/452","id":75729992,"user":{"login":"herveDarritchon","id":5511927,"avatar_url":"https://avatars.githubusercontent.com/u/5511927?v=3","gravatar_id":"","url":"https://api.github.com/users/herveDarritchon","html_url":"https://github.com/herveDarritchon","followers_url":"https://api.github.com/users/herveDarritchon/followers","following_url":"https://api.github.com/users/herveDarritchon/following{/other_user}","gists_url":"https://api.github.com/users/herveDarritchon/gists{/gist_id}","starred_url":"https://api.github.com/users/herveDarritchon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herveDarritchon/subscriptions","organizations_url":"https://api.github.com/users/herveDarritchon/orgs","repos_url":"https://api.github.com/users/herveDarritchon/repos","events_url":"https://api.github.com/users/herveDarritchon/events{/privacy}","received_events_url":"https://api.github.com/users/herveDarritchon/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T10:09:46Z","updated_at":"2015-02-24T10:09:46Z","body":"I have a question.\r\n\r\nI forgot to add some unit tests.\r\nDo I have to do a new PR only with the tests or do I have do a new PR with the evolution and the tests ?\r\n"}}