{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4549","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4549/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4549/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4549/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/4549","id":200491126,"number":4549,"title":"Adding datetime query parameter support to CPPREST","user":{"login":"genechang","id":11895529,"avatar_url":"https://avatars.githubusercontent.com/u/11895529?v=3","gravatar_id":"","url":"https://api.github.com/users/genechang","html_url":"https://github.com/genechang","followers_url":"https://api.github.com/users/genechang/followers","following_url":"https://api.github.com/users/genechang/following{/other_user}","gists_url":"https://api.github.com/users/genechang/gists{/gist_id}","starred_url":"https://api.github.com/users/genechang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genechang/subscriptions","organizations_url":"https://api.github.com/users/genechang/orgs","repos_url":"https://api.github.com/users/genechang/repos","events_url":"https://api.github.com/users/genechang/events{/privacy}","received_events_url":"https://api.github.com/users/genechang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-12T21:56:09Z","updated_at":"2017-01-13T03:15:56Z","closed_at":null,"body":"\r\n##### Description\r\n\r\nThe generated code for CPPREST doesn't have support for a datetime query parameter.  In ApiClient there isn't a parameterToString to handle datetime.\r\n\r\n##### Swagger-codegen version\r\n\r\nFound in tip of master.  \r\n\r\n##### Swagger declaration file content or url\r\n\r\n<script src=\"https://gist.github.com/genechang/425e0d5ab16fd2a4f11160317df1f8da.js\"></script>\r\n\r\n##### Command line used for generation\r\n\r\njava -jar swagger-codegen\\modules\\swagger-codegen-cli\\target\\swagger-codegen-cli.jar generate --lang cpprest --input-spec webapp-swagger\\src\\main\\resources\\swagger.json --api-package=com.anyconnect.client.api --model-package=com.anyconnect.client.model\r\n\r\n##### Steps to reproduce\r\n\r\nGenerate code and inspect code. ApiClient doesn't have an overload for parameterToString(utility::datetime)\r\n\r\n##### Related issues\r\n\r\nI couldn't find one.\r\n\r\n##### Suggest a Fix\r\n\r\nIn the mustache file for ApiClient, add an overload for parameterToString to handle datetime.  In the datetime.to_string() use ISO_8601 date formatting standard.  I forked the repo and can have a pull request with my fix.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/272350651","html_url":"https://github.com/swagger-api/swagger-codegen/issues/4549#issuecomment-272350651","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4549","id":272350651,"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":"2017-01-13T03:15:56Z","updated_at":"2017-01-13T03:15:56Z","body":"@genechang thanks for reporting the issue. Please kindly submit a PR so that we can review the fix."}}
{"actor":{"display_login":"wing328"}}