Our current production API is ASP.Net Web API 2 with EF 6. We have custom 
DTO models and we use the display attribute as follows: 


[Display(Description = "Some description of this data item")] 


and the description is showing up just fine in the generated documentation 
page. We are migrating the API to EF Core 2.1 and WEB API Core and also 
using Swagger to automatically document the API. The descriptions are not 
showing up at all in the generated documentation and I can find nothing in 
the Swagger docs or EF Core docs or googling around for days that even 
mentions anything about this. Thank You.

-- 
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.

Reply via email to