{"action":"opened","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6854","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6854/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6854/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6854/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/6854","id":270016095,"number":6854,"title":"[CPPREST][C++]Accessors for boolean fields are not given a method name starting with \"is\"","user":{"login":"javakrieg","id":30161074,"avatar_url":"https://avatars2.githubusercontent.com/u/30161074?v=4","gravatar_id":"","url":"https://api.github.com/users/javakrieg","html_url":"https://github.com/javakrieg","followers_url":"https://api.github.com/users/javakrieg/followers","following_url":"https://api.github.com/users/javakrieg/following{/other_user}","gists_url":"https://api.github.com/users/javakrieg/gists{/gist_id}","starred_url":"https://api.github.com/users/javakrieg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javakrieg/subscriptions","organizations_url":"https://api.github.com/users/javakrieg/orgs","repos_url":"https://api.github.com/users/javakrieg/repos","events_url":"https://api.github.com/users/javakrieg/events{/privacy}","received_events_url":"https://api.github.com/users/javakrieg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-31T16:00:29Z","updated_at":"2017-10-31T16:00:29Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPlease follow the issue template below for bug reports and feature requests.\r\nAlso please indicate in the issue title which language/library is concerned. Eg:  [JAVA] Bug generating foo with bar \r\n-->\r\n\r\n##### Description\r\n\r\nIf you have a boolean property in a definition file (e.g. \"fixed\"), the Java code generator will produce a setter called \"setFixed\" and a getter called \"isFixed\".  This is expected.  However, the CppRest/C++ code generator will produce a setter called \"setFixed\" but the getter will be called \"getFixed\".  This is incorrect.  It too should be \"isFixed\".\r\n\r\n##### Swagger-codegen version\r\n\r\n2.2.3\r\n\r\n##### Swagger declaration file content or url\r\n\r\n```yaml\r\n  Parameter:\r\n    type: object\r\n    properties:\r\n      name:\r\n        type: string\r\n      fixed:\r\n        type: boolean\r\n        description: True if the parameter cannot be changed, false otherwise.\r\n```\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"javakrieg"}}