I have just install Swashbuckle.AspNetCore 5.6.3 and do all the configurations where needed.
when I run the debugger and got the localhost:65183/swagger/index.html fr