#.net6

Posts tagged with this topic.

Fixed contractResolver showed up when using Swashbuckle Swagger .NET 6

Apr 23, 2022

When using Swagger and I want to implement JsonPatchDocument to do Patch operation in my WebApi, I noticed the class can't be recognized automatically in the Swagger UI. The contractResolver object detected in SwaggerUI Below is a sample of my code for my Controller that uses...

Empty Available Authorization when using Swashbuckle Swagger .NET 6

Apr 16, 2022

When I learned to implement authorization in my WebAPI and tested it in Swagger, I noticed the "Available authorization" page was empty (after clicking the lock icon): Empty Authorization dialog For those who don't know Swagger, you can think of this as a framework that offers a...