I have an ASP.NET Core application with multiple versions. Some of our endpoints are mapped to a specific version, but some are not, and the ones that aren't mapped, those show up as part of all versions. We use RoutingEndpointConventionBuilderExtensions.WithName to set the endpoint names, and that sets the operation IDs, too. The problem is the endpoints that show up as part of all versions have the same operation ID in all versions, and that leads to name collisions down the road. Is there a way to include the API version as part of the call to WithName, maybe something similar to this way that we include the version as part of the path?
RouteGroupBuilder versionedGroup = app.MapGroup("api/v{apiVersion:apiVersion}")
.WithApiVersionSet(apiVersionSet);