{"action":"created","issue":{"url":"https://api.github.com/repos/micro-elements/MicroElements.Swashbuckle.FluentValidation/issues/20","repository_url":"https://api.github.com/repos/micro-elements/MicroElements.Swashbuckle.FluentValidation","labels_url":"https://api.github.com/repos/micro-elements/MicroElements.Swashbuckle.FluentValidation/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/micro-elements/MicroElements.Swashbuckle.FluentValidation/issues/20/comments","events_url":"https://api.github.com/repos/micro-elements/MicroElements.Swashbuckle.FluentValidation/issues/20/events","html_url":"https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/issues/20","id":378554930,"node_id":"MDU6SXNzdWUzNzg1NTQ5MzA=","number":20,"title":"Support Swagger v4","user":{"login":"Hawxy","id":975824,"node_id":"MDQ6VXNlcjk3NTgyNA==","avatar_url":"https://avatars0.githubusercontent.com/u/975824?v=4","gravatar_id":"","url":"https://api.github.com/users/Hawxy","html_url":"https://github.com/Hawxy","followers_url":"https://api.github.com/users/Hawxy/followers","following_url":"https://api.github.com/users/Hawxy/following{/other_user}","gists_url":"https://api.github.com/users/Hawxy/gists{/gist_id}","starred_url":"https://api.github.com/users/Hawxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hawxy/subscriptions","organizations_url":"https://api.github.com/users/Hawxy/orgs","repos_url":"https://api.github.com/users/Hawxy/repos","events_url":"https://api.github.com/users/Hawxy/events{/privacy}","received_events_url":"https://api.github.com/users/Hawxy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"petriashev","id":127600,"node_id":"MDQ6VXNlcjEyNzYwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/127600?v=4","gravatar_id":"","url":"https://api.github.com/users/petriashev","html_url":"https://github.com/petriashev","followers_url":"https://api.github.com/users/petriashev/followers","following_url":"https://api.github.com/users/petriashev/following{/other_user}","gists_url":"https://api.github.com/users/petriashev/gists{/gist_id}","starred_url":"https://api.github.com/users/petriashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petriashev/subscriptions","organizations_url":"https://api.github.com/users/petriashev/orgs","repos_url":"https://api.github.com/users/petriashev/repos","events_url":"https://api.github.com/users/petriashev/events{/privacy}","received_events_url":"https://api.github.com/users/petriashev/received_events","type":"User","site_admin":false},"assignees":[{"login":"petriashev","id":127600,"node_id":"MDQ6VXNlcjEyNzYwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/127600?v=4","gravatar_id":"","url":"https://api.github.com/users/petriashev","html_url":"https://github.com/petriashev","followers_url":"https://api.github.com/users/petriashev/followers","following_url":"https://api.github.com/users/petriashev/following{/other_user}","gists_url":"https://api.github.com/users/petriashev/gists{/gist_id}","starred_url":"https://api.github.com/users/petriashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petriashev/subscriptions","organizations_url":"https://api.github.com/users/petriashev/orgs","repos_url":"https://api.github.com/users/petriashev/repos","events_url":"https://api.github.com/users/petriashev/events{/privacy}","received_events_url":"https://api.github.com/users/petriashev/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-08T02:42:43Z","updated_at":"2018-11-09T23:32:36Z","closed_at":null,"author_association":"NONE","body":"Swagger v4 has breaking changes in the way middleware works and this library is currently incompatible."},"comment":{"url":"https://api.github.com/repos/micro-elements/MicroElements.Swashbuckle.FluentValidation/issues/comments/437528212","html_url":"https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/issues/20#issuecomment-437528212","issue_url":"https://api.github.com/repos/micro-elements/MicroElements.Swashbuckle.FluentValidation/issues/20","id":437528212,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzUyODIxMg==","user":{"login":"bbartels","id":23058572,"node_id":"MDQ6VXNlcjIzMDU4NTcy","avatar_url":"https://avatars3.githubusercontent.com/u/23058572?v=4","gravatar_id":"","url":"https://api.github.com/users/bbartels","html_url":"https://github.com/bbartels","followers_url":"https://api.github.com/users/bbartels/followers","following_url":"https://api.github.com/users/bbartels/following{/other_user}","gists_url":"https://api.github.com/users/bbartels/gists{/gist_id}","starred_url":"https://api.github.com/users/bbartels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbartels/subscriptions","organizations_url":"https://api.github.com/users/bbartels/orgs","repos_url":"https://api.github.com/users/bbartels/repos","events_url":"https://api.github.com/users/bbartels/events{/privacy}","received_events_url":"https://api.github.com/users/bbartels/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T23:32:36Z","updated_at":"2018-11-09T23:32:36Z","author_association":"NONE","body":"A temporary workaround is to make the calls made in AddFluentValidationRules manually:\r\n```csharp\r\nservices.AddSwaggerGen(s =>\r\n{\r\n    s.SwaggerDoc(\"v1\", new Info { Title = \"My Api\", Version = \"v1\" });\r\n    //s.AddFluentValidationRules(); // Throws Exception\r\n    //Doing the AddFluentValidationRules' calls manually, no exception\r\n    s.SchemaFilter<FluentValidationRules>();\r\n    s.OperationFilter<FluentValidationOperationFilter>();\r\n});```"}}
{"actor":{"display_login":"bbartels"}}