-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Open
Description
It was detected on versions 6.6.1 and 6.6.2 that operationId name is now presented breaking the line as you can see in the screenshot below. The version 6.5.0 is working fine, I did a Ctrl+F5 after downgrading to refresh the CSS and it works.
Expected behavior
Do not break line of have space to display operationId on the right.
Actual behavior
The operationId name is breaking into the next line.
Steps to reproduce
// add customOperationIds with AddSwaggerGen
builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen(options =>
options.CustomOperationIds(selector =>
{
var httpVerb = selector.HttpMethod?.ToSentenceCase();
var controllerName = ((ControllerActionDescriptor)selector.ActionDescriptor).ControllerName;
var actionSuffix = GetActionSuffix(selector);
return $"{httpVerb}{controllerName}{actionSuffix}";
})
);
Swashbuckle.AspNetCore version
6.6.2
.NET Version
8.0.202
Metadata
Metadata
Assignees
Labels
No labels