Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
Endpoint is missing in swagger when i use WithGroupName in asp net core minimal apis
Swashbuckle.AspNetCore version: 6.2.3 .NET Version: 6.0.100-rc.2.21505.57 My code:
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
var app = builder.Build();
app.MapSwagger();
app.UseSwaggerUI();
app.MapGet("/a", () => "Hello world"); // this one exist
app.MapGet("/b", () => "Hello world2").WithGroupName("test"); // this one not
app.Run();