Initialize minimal ASP.NET Core API with OpenAPI support

Set up a basic ASP.NET Core project targeting .NET 9.0 with nullable and implicit usings enabled. Added OpenAPI (Swagger) documentation using NSwag and a simple WeatherForecast endpoint. Included necessary configuration files for development and toolchain support.
This commit is contained in:
2025-02-05 22:31:42 +01:00
parent cb534421cd
commit 7b1b234d82
11 changed files with 205 additions and 0 deletions

6
Api/Api.http Normal file
View File

@@ -0,0 +1,6 @@
@Api_HostAddress = http://localhost:5175
GET {{Api_HostAddress}}/weatherforecast/
Accept: application/json
###