proudmonkey / ApiBoilerPlate

A simple yet organized project template for building ASP.NET Core APIs in .NET Core 3.1
MIT License
361 stars 77 forks source link

Update RegisterSwagger.cs #15

Open workcontrolgit opened 4 years ago

workcontrolgit commented 4 years ago

Fix 401 error in swagger ui after adding [authorize] attribute to PersonsController

workcontrolgit commented 4 years ago

Reported bug in https://github.com/proudmonkey/ApiBoilerPlate/issues/14

proudmonkey commented 4 years ago

Hi,

I responded to the issue here: https://github.com/proudmonkey/ApiBoilerPlate/issues/14#issuecomment-675157451