Swagger reports Inline Model when returning List

2016-10-17 Thread 'Mark Kenyon II' via Swagger
I'm trying to get Swagger to recognize the type returned by my Action/Method in my C# Web Api. I've coded my method like this: [HttpGet] [Route("api/categories/top")] [ResponseType("200", typeof(List)), ResponseType("500", typeof(Exception))] public async Task

Re: Swagger reports Inline Model when returning List

2016-10-17 Thread 'Mark Kenyon II' via Swagger
I'm not sure what you mean by that. I'm willing to post more info, but not sure what you are looking for. The project is currently only running locally, we haven't pushed to a server yet. Is there some configuration I need to do? On Monday, October 17, 2016 at 11:44:40 AM UTC-4, tony tam

Re: Swagger reports Inline Model when returning List

2016-10-17 Thread 'Mark Kenyon II' via Swagger
We're registering Swagger in global.asax like this: protected void Application_Start() { // Route any 'Swagger' calls to the swagger api RouteTable.Routes.MapOwinPath("swagger", app => {