So I do have this web api built in .netcore 2.2 when Im on the process of upgrading this error shows up
System.InvalidOperationException: 'API Explorer not registered in DI.'
I already upgraded my swagger nugget and follow some instructions in upgrading but this error still pops up.
Click for the image of the error
Add services.AddMvcCore().AddApiExplorer();
in public void ConfigureServices(IServiceCollection services)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With