Friday, June 1, 2018

Did something for Swagger / Open API get added to 2.1? Is so, how does one migrate from Swashbuckle?

I've started returning ActionResult<T>.

I'm still using Swashbuckle.AspNetCore.SwaggerGen 2.4

If I remove the ProducesResponseType attribute, I don't get the return type in Swagger.

I'm not sure what I need to add/change to be able to remove the attribute and still get the full swagger info.

Does anyone know where I can find the docs?

Did something for Swagger / Open API get added to 2.1? Is so, how does one migrate from Swashbuckle? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team