See #6440
@Rick-Anderson edit: 25.4 K PV - 70% CSAT
comments:
Obsolete UseSwaggerUI.
None of the steps are up to date.
the code example does not seem to be working..
o basic info on what swagger actually is and does.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
I have just tried the steps above, and it works fine.
True, works for me as well... Though keep in mind that article was updated on 04/04/2019.
@Rick-Anderson - it is noted now
In ASP.NET Core 2.2 or later, conventions can be used as an alternative to explicitly decorating individual actions with [ProducesResponseType]. For more information, see [Use web API conventions.](https://docs.microsoft.com/en-us/aspnet/core/web-api/advanced/conventions?view=aspnetcore-2.2)
Close?
Most helpful comment
I have just tried the steps above, and it works fine.