{"action":"created","issue":{"url":"https://api.github.com/repos/NSwag/NSwag/issues/241","repository_url":"https://api.github.com/repos/NSwag/NSwag","labels_url":"https://api.github.com/repos/NSwag/NSwag/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/NSwag/NSwag/issues/241/comments","events_url":"https://api.github.com/repos/NSwag/NSwag/issues/241/events","html_url":"https://github.com/NSwag/NSwag/issues/241","id":171848444,"number":241,"title":"Incorrect client code generation for explicitly implemented interface members","user":{"login":"Inkp","id":2885893,"avatar_url":"https://avatars.githubusercontent.com/u/2885893?v=3","gravatar_id":"","url":"https://api.github.com/users/Inkp","html_url":"https://github.com/Inkp","followers_url":"https://api.github.com/users/Inkp/followers","following_url":"https://api.github.com/users/Inkp/following{/other_user}","gists_url":"https://api.github.com/users/Inkp/gists{/gist_id}","starred_url":"https://api.github.com/users/Inkp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Inkp/subscriptions","organizations_url":"https://api.github.com/users/Inkp/orgs","repos_url":"https://api.github.com/users/Inkp/repos","events_url":"https://api.github.com/users/Inkp/events{/privacy}","received_events_url":"https://api.github.com/users/Inkp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NSwag/NSwag/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/NSwag/NSwag/labels/done","name":"done","color":"0e8a16"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-18T08:44:11Z","updated_at":"2016-08-19T17:18:36Z","closed_at":"2016-08-18T17:37:20Z","body":"Given following generation code:\r\n```\r\n        public static void Main()\r\n        {\r\n            var service = new SwaggerService\r\n            {\r\n                Host = \"localhost\",\r\n                Schemes = new List<SwaggerSchema> { SwaggerSchema.Http },\r\n                Produces = new List<string> { \"application/json\" },\r\n            };\r\n            service.Paths.Add(\"name\", new SwaggerOperations\r\n            {\r\n                {\r\n                    SwaggerOperationMethod.Get, new SwaggerOperation\r\n                    {\r\n                        OperationId = \"id\",\r\n                        Consumes = new List<string> {\"application/x-www-form-urlencoded\"},\r\n                        Parameters = new List<SwaggerParameter>()\r\n                        {\r\n                            new SwaggerParameter\r\n                            {\r\n                                Name = \"body\",\r\n                                Kind = SwaggerParameterKind.Body,\r\n                                IsRequired = true,\r\n                                Schema = JsonSchema4.FromType(typeof(Foo))\r\n                            }\r\n                        }\r\n                    }\r\n                }\r\n            });\r\n\r\n            Console.WriteLine(new SwaggerToTypeScriptClientGenerator(service,\r\n                new SwaggerToTypeScriptClientGeneratorSettings\r\n                {\r\n                    ClassName = \"FooClient\",\r\n                    Template = TypeScriptTemplate.AngularJS\r\n                }).GenerateFile());\r\n        }\r\n\r\n        public interface IFoo\r\n        {\r\n            string Prop { get; }\r\n        }\r\n\r\n        public class Foo : IFoo\r\n        {\r\n            string IFoo.Prop { get; }\r\n        }\r\n```\r\nGenerator yields following TS client which has erroneous member `swaggen.Program.IFoo.Prop`.\r\n[test.txt](https://github.com/NSwag/NSwag/files/424451/test.txt)\r\n\r\n**EDIT**: I wonder if that's an issue of NJsonSchema, since explicitly implemented properties are private and by my understanding should be excluded from schema\r\n"},"comment":{"url":"https://api.github.com/repos/NSwag/NSwag/issues/comments/241078714","html_url":"https://github.com/NSwag/NSwag/issues/241#issuecomment-241078714","issue_url":"https://api.github.com/repos/NSwag/NSwag/issues/241","id":241078714,"user":{"login":"rsuter","id":2603405,"avatar_url":"https://avatars.githubusercontent.com/u/2603405?v=3","gravatar_id":"","url":"https://api.github.com/users/rsuter","html_url":"https://github.com/rsuter","followers_url":"https://api.github.com/users/rsuter/followers","following_url":"https://api.github.com/users/rsuter/following{/other_user}","gists_url":"https://api.github.com/users/rsuter/gists{/gist_id}","starred_url":"https://api.github.com/users/rsuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsuter/subscriptions","organizations_url":"https://api.github.com/users/rsuter/orgs","repos_url":"https://api.github.com/users/rsuter/repos","events_url":"https://api.github.com/users/rsuter/events{/privacy}","received_events_url":"https://api.github.com/users/rsuter/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T17:18:36Z","updated_at":"2016-08-19T17:18:36Z","body":"Fixed in v5.2"}}
{"actor":{"display_login":"rsuter"}}