dotnet add swagger.csproj package NSwag.AspNetCore
dotnet build
dotnet run
https://localhost:5001/Prime
https://localhost:5001/swagger
https://localhost:5001/swagger/v1/swagger.json
services.AddSwaggerDocument();
app.UseOpenApi();
app.UseSwaggerUi3();
dotnet build
dotnet run
curl -X 'GET' 'https://localhost:5001/Prime' -H 'accept: text/plain'
_logger.LogInformation("Example log message2");
dotnet new gitignore