{"action":"created","issue":{"url":"https://api.github.com/repos/RSuter/NSwag/issues/1266","repository_url":"https://api.github.com/repos/RSuter/NSwag","labels_url":"https://api.github.com/repos/RSuter/NSwag/issues/1266/labels{/name}","comments_url":"https://api.github.com/repos/RSuter/NSwag/issues/1266/comments","events_url":"https://api.github.com/repos/RSuter/NSwag/issues/1266/events","html_url":"https://github.com/RSuter/NSwag/issues/1266","id":312393507,"number":1266,"title":"Application will not start with NSwag in .net Core 2 - works fine with swashbuckle","user":{"login":"statler","id":337991,"avatar_url":"https://avatars3.githubusercontent.com/u/337991?v=4","gravatar_id":"","url":"https://api.github.com/users/statler","html_url":"https://github.com/statler","followers_url":"https://api.github.com/users/statler/followers","following_url":"https://api.github.com/users/statler/following{/other_user}","gists_url":"https://api.github.com/users/statler/gists{/gist_id}","starred_url":"https://api.github.com/users/statler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statler/subscriptions","organizations_url":"https://api.github.com/users/statler/orgs","repos_url":"https://api.github.com/users/statler/repos","events_url":"https://api.github.com/users/statler/events{/privacy}","received_events_url":"https://api.github.com/users/statler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-09T04:57:28Z","updated_at":"2018-04-09T05:56:08Z","closed_at":null,"author_association":"NONE","body":"After getting all of my client models working with NSwag (amazing tool BTW), I am trying to move my generation across to get the whole chain working with one system.\r\n\r\nI have followed the wiki and [this](https://docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-nswag?tabs=visual-studio%2Cvisual-studio-xml), essentially adding the NUGET packages and the Configure code;\r\n`    \r\n    app.UseStaticFiles();\r\n\r\n    // Enable the Swagger UI middleware and the Swagger generator\r\n    app.UseSwaggerUi(typeof(Startup).GetTypeInfo().Assembly, settings =>\r\n    {\r\n        settings.GeneratorSettings.DefaultPropertyNameHandling = PropertyNameHandling.CamelCase;\r\n    });`\r\n\r\nUnfortunately my application starts, but then hangs trying to get the swagger.json. Any ideas on what I can try to figure out what is going on? It isn't my .net core model because that works perfectly with my swashbuckle implementation - and yes, I did take the sb code out when implementing nswag.\r\n\r\nAny help appreciated."},"comment":{"url":"https://api.github.com/repos/RSuter/NSwag/issues/comments/379641296","html_url":"https://github.com/RSuter/NSwag/issues/1266#issuecomment-379641296","issue_url":"https://api.github.com/repos/RSuter/NSwag/issues/1266","id":379641296,"user":{"login":"statler","id":337991,"avatar_url":"https://avatars3.githubusercontent.com/u/337991?v=4","gravatar_id":"","url":"https://api.github.com/users/statler","html_url":"https://github.com/statler","followers_url":"https://api.github.com/users/statler/followers","following_url":"https://api.github.com/users/statler/following{/other_user}","gists_url":"https://api.github.com/users/statler/gists{/gist_id}","starred_url":"https://api.github.com/users/statler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statler/subscriptions","organizations_url":"https://api.github.com/users/statler/orgs","repos_url":"https://api.github.com/users/statler/repos","events_url":"https://api.github.com/users/statler/events{/privacy}","received_events_url":"https://api.github.com/users/statler/received_events","type":"User","site_admin":false},"created_at":"2018-04-09T05:56:08Z","updated_at":"2018-04-09T05:56:08Z","author_association":"NONE","body":"Already have v2.02 installed.\r\n\r\nFor some reason it works with swagger3.0...\r\n\r\nI need jwt support anyway, but would be curious to know what the problem was.\r\n\r\n`            \r\n    app.UseSwaggerUi3(typeof(Startup).GetTypeInfo().Assembly, settings =>\r\n            {\r\n                settings.GeneratorSettings.DefaultPropertyNameHandling = PropertyNameHandling.CamelCase;\r\n            });`"}}
{"actor":{"display_login":"statler"}}