This sample project demonstrates three different ways that you can expose OpenAPI specifications for ASP.NET Core applications:
The sample application is a simple Todo list application that allows you to create, read, update, and delete Todo items. The application is implemented using ASP.NET Core 9.0 with Minimal APIs and Razor Pages.
Compiling the application yourself requires Git and the .NET SDK to be installed.
To build and test the application locally from a terminal/command-line, run the following set of commands:
git clone https://github.com/martincostello/aspnetcore-openapi.git
cd aspnetcore-openapi
./build.ps1
Any feedback or issues can be added to the issues for this project in GitHub.
The repository is hosted in GitHub: https://github.com/martincostello/aspnetcore-openapi.git
This project is licensed under the Apache 2.0 license.