Skip to content

A demonstration of different ways to add OpenAPI (Swagger) support to ASP.NET Core applications

License

Notifications You must be signed in to change notification settings

martincostello/aspnetcore-openapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ASP.NET Core 🤝 OpenAPI

Build status

Introduction

This sample project demonstrates three different ways that you can expose OpenAPI specifications for ASP.NET Core applications:

  1. ASP.NET Core OpenAPI
  2. NSwag
  3. Swasbuckle.AspNetCore

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.

Building and Testing

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

Feedback

Any feedback or issues can be added to the issues for this project in GitHub.

Repository

The repository is hosted in GitHub: https://github.com/martincostello/aspnetcore-openapi.git

License

This project is licensed under the Apache 2.0 license.

About

A demonstration of different ways to add OpenAPI (Swagger) support to ASP.NET Core applications

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •