Skip to content

[Route Groups] Add default metadata to endpoints exposing group structure #41429

Open
@halter73

Description

@halter73

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

Currently the MapGroup API described in #36007 does not add any default metadata enabling endpoint to observe what groups they're in if any.

Describe the solution you'd like

MapGroup should add default metadata. It's tempting to use EndpointGroupNameAttribute like WithGroupName, but this implications on the swagger.json produced by Swashbuckle and NSwag (see #36414), so we want to be careful here.

We also need to consider what the default group name should be (just the prefix?) and whether nested groups should add multiple pieced of metadata or if the nested group structure can be encapsulated in a single object.

Metadata

Metadata

Assignees

Labels

area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etc

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions