Skip to content

CSS related operationId name is breaking line #10071

@WKnak

Description

@WKnak

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.

image

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions