Swashbuckle.AspNetCore icon indicating copy to clipboard operation
Swashbuckle.AspNetCore copied to clipboard

Unable to change group order with `OrderActionsBy` when only some group have description

Open yyjdelete opened this issue 4 years ago • 4 comments

Swashbuckle.AspNetCore 5.5.1

When IncludeXmlComments(..., includeControllerXmlComments: true) is used, but only some controllers have comments, it's unable to change the order of groups with OrderActionsBy(the ones with description is always the first)

Seems Swashbuckle.AspNetCore only gen tags with Description in OpenApiDocument.Tags, and according to https://swagger.io/specification/#fixed-fields,The tags that are not declared MAY be organized randomly or based on the tools' logic.

Is there an options to force Swashbuckle.AspNetCore generate all tags?

yyjdelete avatar Jul 27 '20 03:07 yyjdelete