{"action":"closed","issue":{"url":"https://api.github.com/repos/OData/WebApi/issues/640","repository_url":"https://api.github.com/repos/OData/WebApi","labels_url":"https://api.github.com/repos/OData/WebApi/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/OData/WebApi/issues/640/comments","events_url":"https://api.github.com/repos/OData/WebApi/issues/640/events","html_url":"https://github.com/OData/WebApi/issues/640","id":135297366,"number":640,"title":"DataContractAttribute, etc don't work for enum type","user":{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OData/WebApi/labels/2%20-%20Active%20(in%20design)","name":"2 - Active (in design)","color":"5319e7"},{"url":"https://api.github.com/repos/OData/WebApi/labels/3%20-%20Resolved%20(code%20ready)","name":"3 - Resolved (code ready)","color":"207de5"},{"url":"https://api.github.com/repos/OData/WebApi/labels/PR_Team","name":"PR_Team","color":"dddddd"}],"state":"closed","locked":false,"assignee":{"login":"VikingsFan","id":5082288,"avatar_url":"https://avatars.githubusercontent.com/u/5082288?v=3","gravatar_id":"","url":"https://api.github.com/users/VikingsFan","html_url":"https://github.com/VikingsFan","followers_url":"https://api.github.com/users/VikingsFan/followers","following_url":"https://api.github.com/users/VikingsFan/following{/other_user}","gists_url":"https://api.github.com/users/VikingsFan/gists{/gist_id}","starred_url":"https://api.github.com/users/VikingsFan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VikingsFan/subscriptions","organizations_url":"https://api.github.com/users/VikingsFan/orgs","repos_url":"https://api.github.com/users/VikingsFan/repos","events_url":"https://api.github.com/users/VikingsFan/events{/privacy}","received_events_url":"https://api.github.com/users/VikingsFan/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OData/WebApi/milestones/16","html_url":"https://github.com/OData/WebApi/milestones/v5.9","labels_url":"https://api.github.com/repos/OData/WebApi/milestones/16/labels","id":1436662,"number":16,"title":"v5.9","description":"","creator":{"login":"congysu","id":7425148,"avatar_url":"https://avatars.githubusercontent.com/u/7425148?v=3","gravatar_id":"","url":"https://api.github.com/users/congysu","html_url":"https://github.com/congysu","followers_url":"https://api.github.com/users/congysu/followers","following_url":"https://api.github.com/users/congysu/following{/other_user}","gists_url":"https://api.github.com/users/congysu/gists{/gist_id}","starred_url":"https://api.github.com/users/congysu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/congysu/subscriptions","organizations_url":"https://api.github.com/users/congysu/orgs","repos_url":"https://api.github.com/users/congysu/repos","events_url":"https://api.github.com/users/congysu/events{/privacy}","received_events_url":"https://api.github.com/users/congysu/received_events","type":"User","site_admin":false},"open_issues":68,"closed_issues":22,"state":"open","created_at":"2015-12-01T05:03:45Z","updated_at":"2016-03-04T05:57:03Z","due_on":"2016-03-17T16:00:00Z","closed_at":null},"comments":1,"created_at":"2016-02-22T02:43:18Z","updated_at":"2016-03-04T05:57:03Z","closed_at":"2016-03-04T05:57:03Z","body":"for example:\r\n\r\n```\r\n[DataContract(Name = \"color\")]\r\n    public enum Color\r\n    {\r\n        Red,\r\n        Blue,\r\n        Green\r\n    }\r\n```\r\nthe related codes are https://github.com/OData/WebApi/blob/master/OData/src/System.Web.OData/OData/Builder/Conventions/Attributes/DataContractAttributeEdmTypeConvention.cs#L14\r\n\r\nIt only supports the \"StructuralTypeConfiguration\". We should add the enum type configuration.\r\n"}}