I am Gabriel, a software developer from Uyo, Nigeria. I'm a graduate of Chemical Engineering but my passion for tech led me into a career in software development.
I available if you need me to answer questions on C#, ASP.NET Core, and JavaScript.
Okay. Do you know how to use Swagger? When using Swagger you don't have to change the URL or navigate to any of the actions. The documentation provides ways on how to go about it. You simply just have to click on the endpoint you want to test and follow the instructions and it calls the data you need.
I added some custom configuration to add API Versioning into the Swagger Doc in the ConfigureSwaggerOptions class so this demands that I reconfigure the existing configuration model. The data annotations I used are built into the ASP.NET Core runtime. I added them as part of the documentatng status code into Swagger Documentation which is available when you run the application. Using JsonPatchDoc is .NET best practice for PATCH REQUEST. It is different from PUT. PATCH request updates only one part of the resource while with PUT you can update one or more part of the resource. Check https://docs.microsoft.com/en-us/aspnet/core/web-api/jsonpatch?view=aspnetcore-5.0 for more on configuring and using PATCH request. If you're using .NET 5 to follow along you can install the latest version of the nuget package. It's was not omitted. Might be a network challenge from your end. Thanks for your comprehensive feedback. I'm always available if you have more questions.