Hi all, I am working on the web api service with swagger which is based on web api controller. I've configurated swagger settings and able to generate json description of my web api controller. The generated json contains a description of my api controller actions including a response type for each action. I listed a method example below: [System.Web.Http.HttpGet] [System.Web.Http.Route(Name = "Get###")] [ResponseType(typeof(IEnumerable<###>))] [SwaggerResponse(HttpStatusCode.BadRequest, "Msg")] public async Task<IHttpActionResult> Get
Then I am able to generate client which is based on the json description and use generated code as well. But, is there a way to append a couple of additional types in json description which is not included in action description? I am planning to use my service as proxy for some business layer which i am planning to hide. So, there are a couple of common types/classes which can be used than, but they should not be described in method action . Thanks. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
