Asserting Open API Documentation For ASP.NET Core [xUnit]
June 6, 2023
• 391 views
C# tutorialC# programminglearn c#c# programmingc# tutorialasp.net coreasp.net core tutorialasp.net core minimal apiasp.net core minimal web apiasp.net core web api tutorialasp.net tutorialasp.net core beginner tutorialasp.net core beginnersasp.net core for absolute beginnersasp.net core get all routesasp.net core test routeswaggeropen APIminimal apiclean architecture.net 7 web apidotnet 8dependency injection in asp.net core
In this video, we'll look at how we can write functional tests in xUnit to assert that our routes that we have registered in our ASP.NET Core application have XML documentation comments enforced. These XML documentation comments get translated by Swagger into Open API style documentation, so as long as we can enforce proper XML comments, we're ready to rock!
For more videos on programming with detailed examples, check this out:
https://www.youtube.com/playlist?list=PLzATctVhnsghN6XlmOvRzwh4JSpk...
