Skip to content

Commit db3b5c3

Browse files
mikekistlercaptainsafia
authored andcommitted
Clarify meaning of the group name specified in WithGroupName (#59784)
1 parent 7c780b0 commit db3b5c3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Http/Routing/src/Builder/RoutingEndpointConventionBuilderExtensions.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,9 @@ public static TBuilder WithName<TBuilder>(this TBuilder builder, string endpoint
112112
}
113113

114114
/// <summary>
115-
/// Sets the <see cref="EndpointGroupNameAttribute"/> for all endpoints produced
116-
/// on the target <see cref="IEndpointConventionBuilder"/> given the <paramref name="endpointGroupName" />.
117-
/// The <see cref="IEndpointGroupNameMetadata" /> on the endpoint is used to set the endpoint's
118-
/// GroupName in the OpenAPI specification.
115+
/// Sets the <see cref="IEndpointGroupNameMetadata"/> with the given <paramref name="endpointGroupName"/>
116+
/// in the endpoint <see cref="Http.Endpoint.Metadata"/> for all endpoints produced on the target
117+
/// <see cref="IEndpointConventionBuilder"/>.
119118
/// </summary>
120119
/// <param name="builder">The <see cref="IEndpointConventionBuilder"/>.</param>
121120
/// <param name="endpointGroupName">The endpoint group name.</param>

0 commit comments

Comments
 (0)