LA
laura-rodriguez/dotnetconf22
Minimal API + OpenAPI Sample
Grocery Items Management SDK
This repository contains all the projects built during my talk "Build an SDK with OpenAPI and NSwag" at .NETConf 2022
- Grocery API: This project contains the API implementation plus the DAL logic (Web API/.NET 7)
- Grocery SDK: This project contains the client implementation generated by NSwag (Class Library/.NET Standard 2.0)
- Sample App: This project utilizes the SDK (Console App/.NET Core 3.1)
Getting Started
- Make sure you have all the .NET runtimes used by this solution installed
- Configure the Grocery API project to use User JWTs by running
dotnet user-jwts create - Update the Program file with your token in the Console App
- Configure your solution to run the API and the Console App simultaneously
Resources
Here's a list with all the resources to learn more about all the topics!
On this page
Languages
C#100.0%
Contributors
GNU General Public License v3.0
Created October 21, 2022
Updated August 21, 2024