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. contractResolver object detected in SwaggerUI Below is a sample of my code for my Controller that uses JsonPatchDocument: using LearningCqrs.Core; using LearningCqrs.Core.Handler; using LearningCqrs.Data; using LearningCqrs.Features.Users; using MediatR; using Microsoft.AspNetCore.Authorization; using … Continue reading Fixed contractResolver showed up when using Swashbuckle Swagger .NET 6