Fixed contractResolver showed up when using Swashbuckle Swagger .NET 6

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

Empty Available Authorization when using Swashbuckle Swagger .NET 6

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 systematic way of notating the interface of any RESTful … Continue reading Empty Available Authorization when using Swashbuckle Swagger .NET 6

Exploration: Create Swagger API and Consume It In Canvas-Apps

Today we will learn how to create Swagger API > deploy it to Azure (App Service) > make custom connector > use it in Canvas Apps. Without further ado, let's make it! Create API First, we need to open your CMD line, then set the CMD (using CD command) to the directory where you want to create … Continue reading Exploration: Create Swagger API and Consume It In Canvas-Apps