{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3222","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3222/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3222/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3222/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/3222","id":162423717,"number":3222,"title":"[csharp] Property validation for Model's Constructor and Setter Parameters","user":{"login":"RowanJKWalker","id":8016852,"avatar_url":"https://avatars.githubusercontent.com/u/8016852?v=3","gravatar_id":"","url":"https://api.github.com/users/RowanJKWalker","html_url":"https://github.com/RowanJKWalker","followers_url":"https://api.github.com/users/RowanJKWalker/followers","following_url":"https://api.github.com/users/RowanJKWalker/following{/other_user}","gists_url":"https://api.github.com/users/RowanJKWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/RowanJKWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RowanJKWalker/subscriptions","organizations_url":"https://api.github.com/users/RowanJKWalker/orgs","repos_url":"https://api.github.com/users/RowanJKWalker/repos","events_url":"https://api.github.com/users/RowanJKWalker/events{/privacy}","received_events_url":"https://api.github.com/users/RowanJKWalker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Client:%20C-Sharp","name":"Client: C-Sharp","color":"fad8c7"},{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Enhancement","name":"Enhancement","color":"e5ffe5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/9","html_url":"https://github.com/swagger-api/swagger-codegen/milestones/v2.2.0","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/9/labels","id":1375944,"number":9,"title":"v2.2.0","description":"","creator":{"login":"fehguy","id":249413,"avatar_url":"https://avatars.githubusercontent.com/u/249413?v=3","gravatar_id":"","url":"https://api.github.com/users/fehguy","html_url":"https://github.com/fehguy","followers_url":"https://api.github.com/users/fehguy/followers","following_url":"https://api.github.com/users/fehguy/following{/other_user}","gists_url":"https://api.github.com/users/fehguy/gists{/gist_id}","starred_url":"https://api.github.com/users/fehguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fehguy/subscriptions","organizations_url":"https://api.github.com/users/fehguy/orgs","repos_url":"https://api.github.com/users/fehguy/repos","events_url":"https://api.github.com/users/fehguy/events{/privacy}","received_events_url":"https://api.github.com/users/fehguy/received_events","type":"User","site_admin":false},"open_issues":221,"closed_issues":559,"state":"open","created_at":"2015-10-25T23:43:33Z","updated_at":"2016-06-27T11:04:05Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-06-27T10:47:04Z","updated_at":"2016-06-27T13:04:35Z","closed_at":null,"body":"##### Description\r\nGenerated C# models do not have property validation for pattern, minLength, maxLength etc.\r\n\r\n##### Swagger-codegen version\r\n[v2.1.6](https://github.com/swagger-api/swagger-codegen/tree/v2.1.6)\r\n\r\n##### Related issues\r\n[#2663](https://github.com/swagger-api/swagger-codegen/issues/2663)\r\n\r\n##### Suggest a Fix\r\nUpdate:\r\n- [Generated Models](https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/resources/csharp/modelGeneric.mustache)\r\n- [Generated Docs](https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/resources/csharp/model_doc.mustache)\r\n\r\nMaybe update:\r\n- [Generated tests](https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/resources/csharp/model_test.mustache)\r\n- Pet store example\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/228739368","html_url":"https://github.com/swagger-api/swagger-codegen/issues/3222#issuecomment-228739368","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3222","id":228739368,"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":"2016-06-27T13:04:35Z","updated_at":"2016-06-27T13:04:35Z","body":"I also prefer DataAnnotations."}}
{"actor":{"display_login":"wing328"}}