Swagger and OpenAPI Documentation
📄 Swagger and OpenAPI Documentation
Enable it in Program.cs
:
builder.Services.AddSwaggerGen();
Use the UI to explore your API at https://localhost:<port>/swagger
.
Enable it in Program.cs
:
builder.Services.AddSwaggerGen();
Use the UI to explore your API at https://localhost:<port>/swagger
.