{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/autorest/issues/568","labels_url":"https://api.github.com/repos/Azure/autorest/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/Azure/autorest/issues/568/comments","events_url":"https://api.github.com/repos/Azure/autorest/issues/568/events","html_url":"https://github.com/Azure/autorest/issues/568","id":123080611,"number":568,"title":"Custom Headers in AuroRest CSharp","user":{"login":"spaswin","id":3133280,"avatar_url":"https://avatars.githubusercontent.com/u/3133280?v=3","gravatar_id":"","url":"https://api.github.com/users/spaswin","html_url":"https://github.com/spaswin","followers_url":"https://api.github.com/users/spaswin/followers","following_url":"https://api.github.com/users/spaswin/following{/other_user}","gists_url":"https://api.github.com/users/spaswin/gists{/gist_id}","starred_url":"https://api.github.com/users/spaswin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaswin/subscriptions","organizations_url":"https://api.github.com/users/spaswin/orgs","repos_url":"https://api.github.com/users/spaswin/repos","events_url":"https://api.github.com/users/spaswin/events{/privacy}","received_events_url":"https://api.github.com/users/spaswin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-19T11:32:37Z","updated_at":"2016-01-22T18:35:19Z","closed_at":"2016-01-22T18:35:19Z","body":"Hi,\r\n\r\nby using the blow command line we are generating the CSharp files. here we want to pass the custom header values from the client.  Custom Header parameter option is available  in the the file FIleNameAPI.cs. But  the Custom Header  parameter value is hard-coded as null in this file FIleNameAPIExtensions.cs. We want to pass the  CustomHeader parameter in FIleNameAPIExtensions.cs methods also.Kindly advice.\r\n\r\nCommand Line :\r\nAutoRest -input \"*.json\" -CodeGenerator CSharp -Modeler Swagger -Namespace.Swagger.Test\r\n\r\nGenerated Files : \r\n1) *FIleNameAPI.cs\r\n1) *FIleNameAPIExtensions.cs\r\n1) *IFIleNameAPI.cs\r\n\r\n<!---@tfsbridge:{\"tfsId\":5464650}-->"}}