Versioned and OpenAPI documented ASP.NET Core minimal API

Published Open Source Code
Wrote a New API

👨‍💻 A couple of months ago, I was playing with the (then) freshly released ASPNET Core 7, mainly with its OpenAPI improvements for minimal APIs, as well as how to add API versioning into the mix.


Was thinking about writing a post about it, but don't think it'd be particularly interesting, as it would just be describing the code, and it's not particularly complex, so not sure it would be a ton of value.


Anyways, even with no post, might be interesting to share the sample, in case someone is looking into the same subject, so here it is 🙂.


#DotNet #CSharp #AspNetCore #OpenApi #Swagger #Swashbuckle #Versioning


https://github.com/joaofbantunes/MinimalVersionedOpenApiSample