I\'ve seen samples of how to use Swashbuckle to setup swagger authenticaiton:
Using Startup.ConfigureServices(IServiceCollection services):
s